3.2.10 stable build failures?

From: Ben Guthro
Date: Tue Mar 13 2012 - 09:25:10 EST


Hello - I merged the 3.2.10 stable patch set that you pushed yesterday
into my tree, but am seeing build failures that
WM1811_JACKDET_MODE_MASK is undeclared.

This looks like it originated with the following commit:

commit 315e73b400c9a287a53efb5f857d308589674ac5
Author: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date:   Mon Feb 20 21:32:32 2012 +0000

    mfd: Test for jack detection when deciding if wm8994 should suspend

    commit e7c248a049c2aac21bded0b0722caee6f0e57256 upstream.

    The jack detection on WM1811 is often required during system suspend, add
    it as another check when deciding if we should suspend.

    Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
    Signed-off-by: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>



I've grepped the entire 3.2.10 source tree for
WM1811_JACKDET_MODE_MASK - but have only found the occurence in the if
statement introduced in the above changeset


In the mainline tree, "git blame" says this was introduced in the
following changeset to
include/linux/mfd/wm8994/registers.h

commit af6b6fe41c4bc9e7933d66bbbf5106e0e7e6e484
Author: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date:   Wed Nov 30 20:32:05 2011 +0000

    ASoC: Implement support for WM1811A jack detection

    The WM1811A features an advanced low power accessory detection subsystem
    which allows the device to be maintained in a very low power state while
    the system is idle without sacrificing any accessory detection features.

    Implement software support for this, automatically managing the power
    configuration of the device depending on the detected accessory.

    Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>



Would you recommend me backporting that changeset from mainline, or
reverting the offending one?


- Ben Guthro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/