]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
sdio: add MMC_QUIRK_LENIENT_FN0
authorOhad Ben-Cohen <ohad@wizery.com>
Tue, 22 Sep 2009 23:45:18 +0000 (16:45 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:37 +0000 (07:39 -0700)
commit7c979ec7135d96bbff34790bf4b85a8508ede7fc
tree7844a33af78db54561e2bf7d5d11d48885d3b03b
parentad1e597d4199ffcdee04b9fb402e45c5be6a5052
sdio: add MMC_QUIRK_LENIENT_FN0

Normally writes to SDIO function 0 outside the vendor specific CCCR
registers are prohibited.

To support embedded devices that require writes to SDIO function 0 outside
this range (e.g.  TI WL127x embedded sdio wifi device),
MMC_QUIRK_LENIENT_FN0 is introduced.

A card quirks field is added to `struct mmc_card' to support non-standard
devices (e.g.  embedded sdio devices).

[akpm@linux-foundation.org: code in C, not cpp!]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/core/sdio_io.c
include/linux/mmc/card.h