]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: hdac_hdmi: Fix to use dev_pm ops instead soc pm
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Fri, 1 Apr 2016 08:06:25 +0000 (13:36 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 2 Apr 2016 16:28:02 +0000 (09:28 -0700)
commitd92f92458f632b1312c1298428795189e7414629
tree06e8925d1e42b3c9fabc6b3bfc199cb9a48ad028
parent3039f62d3fccb077513a4ffae4d1ef4609c1b724
ASoC: hdac_hdmi: Fix to use dev_pm ops instead soc pm

Use dev_pm ops feature instead of soc pm as core assumes system
is capable of direct complete. Register with complete callback
instead of resume to synchronize with Jack notification from
display driver. This ensures correct Jack notification to user
space.

Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c