diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2010-06-08 14:33:31 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-08 09:31:21 -0400 |
commit | 832c10fd733893f86c63bde1c65b005d5a2fe346 (patch) | |
tree | 4c46420f7a8ac9f0261205383489dea4b042d91c /fs/super.c | |
parent | abe37c4b84502d6931e04e94c9c2c45b4da8c889 (diff) | |
download | talos-op-linux-832c10fd733893f86c63bde1c65b005d5a2fe346.tar.gz talos-op-linux-832c10fd733893f86c63bde1c65b005d5a2fe346.zip |
wl1251: fix ELP_CTRL register reads
Reading the ELP_CTRL register with sdio_readb causes problems because
hardware seems to be performing a write using stuff bits in the request
(those bits contain write data in write request). This indicates that it
actually expects RAW (read after write) type of request, so perform that
when reading ELP_CTRL instead. Also cache last written value so we know
what to write when doing RAW request.
Because of the above it was not possible to wake the chip from ELP power
saving mode, PM had to be disabled to have the driver usable in SDIO
mode. After this patch PM is functional.
For backporting to 2.6.34 or earlier, this patch depends on
6c1f716e8154ee9315534782b9b1eedea0559a24, which adds the
required SDIO funcion.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions