ALSA: hda: use position offset macro of TLV data
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 13 May 2018 22:09:52 +0000 (07:09 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 May 2018 15:47:57 +0000 (17:47 +0200)
commit51cdc8b6a659727ceb843674aae1b3fb69cbe6cb
tree40f3fcbf7513458b37784cb197ad2c141e3976b6
parent841bdb7c0bde0fb2068c64a09bb89a06be63c4d6
ALSA: hda: use position offset macro of TLV data

A series of SNDRV_CTL_TLVO_XXX macro was introduced for position offset
of TLV data. This commit applies a code optimization.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_generic.c