]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rts_pstor: fix a bug that a greenhouse sd card can't be recognized
authorwwang <wei_wang@realsil.com.cn>
Fri, 4 Mar 2011 02:56:36 +0000 (10:56 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Mar 2011 21:42:34 +0000 (13:42 -0800)
commitc5ac8c914cfe74d1e01b61a3c9d04622e72e2d5e
treea4f691c1bfad16ea331c6f24fc4e0ebb159a729c
parent1204fa27a58dc69c627769b0a06e779ba2687432
staging: rts_pstor: fix a bug that a greenhouse sd card can't be recognized

A greenhouse sd card can't be recognized using rts5209.
To fix this bug, these modifications are applied:
1, Move some codes which clear sd internal variables from sd_init_type to
sd_prepare_reset. So sd_init_type is useless any more and is removed
entirely;
2, If a sd card can't pass sd3.0 mode, the action of tunning phase should be
avoided when retrying sd2.0 mode.

Signed-off-by: wwang <wei_wang@realsil.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rts_pstor/sd.c