OSDN Git Service

ASoC: dapm: Ensure power gets managed for line widgets
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 12 Apr 2012 16:29:36 +0000 (17:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2012 15:56:32 +0000 (08:56 -0700)
commit7a47462902d03c6e4d3412a5b703069f4dd13c44
treee647e3069caafa6ec0a3e9334db510e8c6b60699
parent5b09471039a7e08329eb1f48f2153bd979188351
ASoC: dapm: Ensure power gets managed for line widgets

commit 7e1f7c8a6e517900cd84da1b8ae020f08f286c3b upstream.

Line widgets had not been included in either the power up or power down
sequences so if a widget had an event associated with it that event would
never be run. Fix this minimally by adding them to the sequences, we
should probably be doing away with the specific widget types as they all
have the same priority anyway.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/soc-dapm.c