• b-ak's avatar
    ASoC: tlv320aic32x4: Kernel OOPS while entering DAPM standby mode · 667e9334
    b-ak authored
    During the bootup of the kernel, the DAPM bias level is in the OFF
    state. As soon as the DAPM framework kicks in it pushes the codec
    into STANDBY state.
    
    The probe function doesn't prepare the clock, and STANDBY state
    does a clk_disable_unprepare() without checking the previous state.
    This leads to an OOPS.
    
    Not transitioning from an OFF state to the STANDBY state fixes the
    problem.
    Signed-off-by: default avatarb-ak <anur.bhargav@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    Cc: stable@vger.kernel.org
    667e9334
tlv320aic32x4.c 38.5 KB