diff options
author | Mengdong Lin <mengdong.lin@intel.com> | 2015-04-14 11:25:36 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-14 07:25:42 +0200 |
commit | d6eb9e3ec78c98324097bab8eea266c3bb0d0ac7 (patch) | |
tree | 852e698819412eb39fb79d2e15832c3c367517a2 /sound/soc/codecs/arizona.c | |
parent | ce4524e5a78123fbf2db5b1549798c91a6d98294 (diff) | |
download | op-kernel-dev-d6eb9e3ec78c98324097bab8eea266c3bb0d0ac7.zip op-kernel-dev-d6eb9e3ec78c98324097bab8eea266c3bb0d0ac7.tar.gz |
ALSA: hda - set GET bit when adding a vendor verb to the codec regmap
Some HD-A codecs may add their own vendor 'set' verb to the regmap, thru func
snd_hdac_add_vendor_verb(). This patch sets the GET bit (bit 11) when adding
the verb so that its peer vendor 'get' verb is actually added. This can avoid
I/O error when writing the 'set' verb thru remap, since HD-A regmap internally
looks up a writable vendor verb with GET bit set at first.
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/arizona.c')
0 files changed, 0 insertions, 0 deletions