MLK-11392-2: ASoC: fsl_ssi: revert patch to fix kernel dump issue
Revert "MLK-10359: ASoC: fsl_ssi: move pm runtime enable/disable to trigger function" This reverts commit 6fe69c2ff824ddb2c260b31615641d7d942bf2d6. commit 6fe69c2ff82 "MLK-10359: ASoC: fsl_ssi: move pm runtime enable/disable to trigger function " calls the pm_runtime_ functions from an unsafe context as shown when building a kernel with CONFIG_DEBUG_ATOMIC_SLEEP=y: root@freescale /$ aplay /home/clarinet.wav BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:954 in_atomic(): 1, irqs_disabled(): 128, pid: 781, name: aplay CPU: 0 PID: 781 Comm: aplay Not tainted 3.10.53-02670-g6fe69c2 #2 [<80013f98>] (unwind_backtrace+0x0/0xf8) from [<80011a2c>] (show_stack+0x10/0x14) [<80011a2c>] (show_stack+0x10/0x14) from [<80313634>] (__pm_runtime_resume+0x84/0x8c) [<80313634>] (__pm_runtime_resume+0x84/0x8c) from [<804cc4b4>] (fsl_ssi_trigger+0x54/0x200) So revert such commit. Signed-off-by:Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Shengjiu Wang <shengjiu.wang@freescale.com> (cherry picked from commit 16d24d435c2ce1ae6f8139af7fdcf627d9b32b72)
Loading
Please sign in to comment