]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00210160: [mx6]: mmc/sd illegal func call "clk_enable" in intr context
authorRyan QIAN <b32804@freescale.com>
Mon, 21 May 2012 09:24:42 +0000 (17:24 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:41 +0000 (08:34 +0200)
commitc6f239ab472ddf970fa2db1639d62b307fcb71d4
treef6a1d6059bbbce1d99d7aa0c54e4eb870a0ba83f
parent7c4f968a8954f7b5703f0a996a84cf0a27cfab8b
ENGR00210160: [mx6]: mmc/sd illegal func call "clk_enable" in intr context

issue:
calling clk_enable in an interrupt context which will cause kernel bug.

- It is a temp workaround for calling 'clk_enable' in an interrupt context.
By redefine SDHCI_USE_LEDS_CLASS to SDHCI_USE_LEDS_CLASS_BROKEN to exclude
led ctrl support, it does not support mmc/sd LED ctrl with this patch.

- Per current driver structure, it's difficult to fix this issue in driver
layer. The fix for this issue needs adjustment to current driver structure
and using new clock management in kernel interface.

Signed-off-by: Ryan QIAN <b32804@freescale.com>
drivers/mmc/host/sdhci.c