From: Grazvydas Ignotas Date: Thu, 11 Mar 2010 15:44:57 +0000 (+0200) Subject: wl1251: fix ELP_CTRL register accesses when using SDIO X-Git-Tag: v2.6.35-rc1~473^2~714^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f9e750d130b4a4d9f8226642b46ed17d8357f40;p=pandora-kernel.git wl1251: fix ELP_CTRL register accesses when using SDIO For some unknown reason ELP_CTRL can't be accesed using sdio_memcpy_* functions (any attemts to do so result in timeouts): wl1251: ERROR sdio write failed (-110) wl1251: ERROR sdio read failed (-110) wl1251: WARNING WLAN not ready To fix this, add special IO functions for ELP_CTRL access that are using sdio_readb/sdio_writeb. Similar handling is done in TI reference driver from Android code drop. Signed-off-by: Grazvydas Ignotas Cc: Bob Copeland Acked-by: Kalle Valo Signed-off-by: John W. Linville --- Reading git-diff-tree failed