On Tue, Mar 17, 2015 at 12:04:21PM +0000, Mark Brown wrote: > On Tue, Mar 17, 2015 at 11:50:30AM +0000, Charles Keepax wrote: > > On Mon, Mar 16, 2015 at 08:47:10PM +0000, Mark Brown wrote: <snip> > It seems easy enough to check if the device is active and it's very > common for drivers to do this (wm8994 has an example) - for most uses > you should be able to check pm_runtime_is_enabled() and there should > just be a single bitfield you can look at to figure out if jack > detection was running. Looking at the extcon driver briefly > ARIZONA_JD1_ENA looks hopeful.
Cool ok, sorry about that. All makes more sense now, thanks. I will respin. Thanks, Charles -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/