Re: [PATCH 2/2] staging: rts_pstor: set lun_mode in a differentplace
From: Dan Carpenter
Date: Tue Mar 15 2011 - 04:46:53 EST
On Tue, Mar 15, 2011 at 04:22:16PM +0800, wei_wang@xxxxxxxxxxxxxx wrote:
> From: wwang <wei_wang@xxxxxxxxxxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/