Search Linux Wireless

Re: [PATCH 2/4] wl1251: fix ELP_CTRL register accesses when using SDIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Grazvydas Ignotas <notasas@xxxxxxxxx> writes:

> 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

Yes, this is needed. A separate SDIO command is needed to wakeup the
chip from sleep.

> 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.

Also wl1271 should behave similarly in this respect.

> Signed-off-by: Grazvydas Ignotas <notasas@xxxxxxxxx>
> Cc: Bob Copeland <me@xxxxxxxxxxxxxxx>

Thanks, looks good.

Acked-by: Kalle Valo <kalle.valo@xxxxxx>

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux