[alsa-devel] [PATCH] ASoC: OMAP machines: Fix kernel crash due to changes in core

Péter Ujfalusi peter.ujfalusi at ti.com
Fri Oct 7 13:46:13 CEST 2011


On Friday 07 October 2011 14:12:43 Péter Ujfalusi wrote:
> As I said: sdp4430 strated to crash yesterday morning - without any change
> in the sdp4430 driver.

bisect given me this commit:
commit 35c64bcad5c8244d973efbf7e58f6e0e09635504
Author: Mark Brown <broonie at opensource.wolfsonmicro.com>
Date:   Wed Sep 28 18:23:53 2011 +0100

    ASoC: Ensure all DAPM widgets have a power check callback
    
    Makes the code simpler.
    
    Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>

So this means we had this issue masked by the if (!w->power_check).
Since machine drivers rarely add mixers/muxes the issue has not been really
seen.
We tend to add _SPK, _HP, and stuff like that...

But I have checked the commit before this one. While it is not crashing the
kernel it does ignores the machine added DAPM widgets. They did not power on
(they used to power on). Based on this commit this is expected behavior.

The bisected commit just masked the underlaying issue.

--
Péter


More information about the Alsa-devel mailing list