]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit269f6ed63009fdece3bb03cdcd76eeefdaed04a1
tree9ce695d20786db896f61e3d0e914c9b752330152
parent70e61f2262aadaf2f407375ee4c8287b59dcf4d5
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