aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/hda_register.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-03-29 08:27:15 +0200
committerTakashi Iwai <tiwai@suse.de>2017-04-03 08:42:43 +0200
commit2c1f81381eadc6dd3c288ec4477b2fe572cf86dc (patch)
tree0bf95149f0aa98af439e5b690d0eff68f4f0c1c6 /include/sound/hda_register.h
parentALSA: hda/ca0132: Limit values for chip addresses to 32-bit (diff)
downloadlinux-dev-2c1f81381eadc6dd3c288ec4477b2fe572cf86dc.tar.xz
linux-dev-2c1f81381eadc6dd3c288ec4477b2fe572cf86dc.zip
ALSA: hda - Avoid tricky macros
The macros _snd_hdac_chip_read() and *_write() expand to different types (b,w,l) per their argument. They were thought to be used only internally for other snd_hdac_chip_*() macros, but in some situations we need to call these directly, and they are way too ugly. Instead of saving a few lines, we just write these macros explicitly with the types, so that they can be used in a saner way. Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/hda_register.h')
0 files changed, 0 insertions, 0 deletions