diff options
author | Luciano Coelho <coelho@ti.com> | 2011-11-03 02:44:41 -0400 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-11-08 08:36:53 -0500 |
commit | ce39defb5c6312a89a0c7be48797d6fb8fe9abad (patch) | |
tree | a212a68358bc2ae202ab3df7d7a546fb8cedcfc7 /drivers/net/wireless/wl12xx/init.c | |
parent | 2f8e81ad42cee6e1503462105f540214b1fb3e54 (diff) |
wl12xx: change blocksize alignment quirk to negative
SDIO blocksize alignment support is now the rule, not the exception.
To simplify the code in patches to come, invert the meaning of the
quirk to be negative (ie. the quirk is set if the device does _not_
support blocksize alignment).
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/init.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/init.c b/drivers/net/wireless/wl12xx/init.c index 14ff01efc0b1..c413abd26d1c 100644 --- a/drivers/net/wireless/wl12xx/init.c +++ b/drivers/net/wireless/wl12xx/init.c | |||
@@ -501,7 +501,7 @@ int wl1271_chip_specific_init(struct wl1271 *wl) | |||
501 | if (wl->chip.id == CHIP_ID_1283_PG20) { | 501 | if (wl->chip.id == CHIP_ID_1283_PG20) { |
502 | u32 host_cfg_bitmap = HOST_IF_CFG_RX_FIFO_ENABLE; | 502 | u32 host_cfg_bitmap = HOST_IF_CFG_RX_FIFO_ENABLE; |
503 | 503 | ||
504 | if (wl->quirks & WL12XX_QUIRK_BLOCKSIZE_ALIGNMENT) | 504 | if (!(wl->quirks & WL12XX_QUIRK_NO_BLOCKSIZE_ALIGNMENT)) |
505 | /* Enable SDIO padding */ | 505 | /* Enable SDIO padding */ |
506 | host_cfg_bitmap |= HOST_IF_CFG_TX_PAD_TO_SDIO_BLK; | 506 | host_cfg_bitmap |= HOST_IF_CFG_TX_PAD_TO_SDIO_BLK; |
507 | 507 | ||