]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:55 +0000 (14:11 +0200)
commite683c2a8b47b837b5a01d7e0d758dacf6cfe5450
treef6a1d6059bbbce1d99d7aa0c54e4eb870a0ba83f
parent176e5bda5cc8f4b9ad98859f2229302455f6b535
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