Re: [PATCH] [PATCH v2] mmc: Fix read-only detection with JMicron 388 chip

2011-04-23 Thread Chris Ball
Hi, On Thu, Apr 21 2011, Takashi Iwai wrote: > On HP laptops with JMicron 388 chip, the write-locked SD card isn't > detected correctly as read-only in many cases. This is because the > PRESENT_STATE register becomes unsable just after plugging, and it > returns the WRITE_PROTECT bit wrongly at t

[PATCH] [PATCH v2] mmc: Fix read-only detection with JMicron 388 chip

2011-04-21 Thread Takashi Iwai
On HP laptops with JMicron 388 chip, the write-locked SD card isn't detected correctly as read-only in many cases. This is because the PRESENT_STATE register becomes unsable just after plugging, and it returns the WRITE_PROTECT bit wrongly at the first read. This patch fixes the read-only detecti