staging: rts_pstor: clear error when read sd lba0 fail
authorwwang <wei_wang@realsil.com.cn>
Wed, 20 Apr 2011 07:14:05 +0000 (15:14 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Apr 2011 00:26:19 +0000 (17:26 -0700)
commite0ce58d7b05eba3d79ea8124d417224dae65c71f
treeeaf85568cfce1444d969180dc33c62b2b0fb5dd0
parent29bad1a139af7574df37613259298c198c4bf93c
staging: rts_pstor: clear error when read sd lba0 fail

Call rtsx_clear_sd_error if sd_read_data fail when reading sd lba0.

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