[PATCH 2/2] staging: rts_pstor: set lun_mode in a different place

Dan Carpenter error27 at gmail.com
Tue Mar 15 08:46:25 UTC 2011


On Tue, Mar 15, 2011 at 04:22:16PM +0800, wei_wang at realsil.com.cn wrote:
> From: wwang <wei_wang at realsil.com.cn>
> 
> In sony notebook, card reader will be configured as two-lun mode
> through EFUSE. In this situation, MS card can't be recognized
> properly because driver does only support single-lun mode in default.
> In this patch, lun_mode is set in a different place, so driver can
> detect the EFUSE configuation automatically.
> 

Hm...  The auto detect code is never run because chip->use_hw_setting is
always 0.  Are you sure the right fix isn't to set chip->use_hw_setting
to 1?

regards,
dan carpenter





More information about the devel mailing list