ALSA: hda - Always allow access for POWER_STATE verbs via regmap
authorTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 05:58:46 +0000 (07:58 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Apr 2015 06:24:51 +0000 (08:24 +0200)
commit9efe2731db3a8944d26233bb47532011411810fb
tree9ce695d20786db896f61e3d0e914c9b752330152
parent664c715573c2c116c2d8f5de7d59ce85a98a1751
ALSA: hda - Always allow access for POWER_STATE verbs via regmap

The hdac regmap code checks whether the codec is powered on while
accessing, but there must be an exception -- the verbs to control the
power state.

Currently HD-audio driver doesn't access them via regmap, so this
patch doesn't fix any current behavior, but it's just for future.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_regmap.c