]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: hda/ca0132: fix build failure when a local macro is defined
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 2 May 2018 13:48:16 +0000 (22:48 +0900)
committerTakashi Iwai <tiwai@suse.de>
Wed, 2 May 2018 13:57:58 +0000 (15:57 +0200)
commit8e142e9e628975b0dddd05cf1b095331dff6e2de
treec3fc420b88955669fb1e545acb216a92f5dbb682
parentf4a414aa6ef219ff4d13992762ecbbb625797d66
ALSA: hda/ca0132: fix build failure when a local macro is defined

DECLARE_TLV_DB_SCALE (alias of SNDRV_CTL_TLVD_DECLARE_DB_SCALE) is used but
tlv.h is not included. This causes build failure when local macro is
defined by comment-out.

This commit fixes the bug. At the same time, the alias macro is replaced
with a destination macro added at a commit 46e860f76804 ("ALSA: rename
TLV-related macros so that they're friendly to user applications")

Reported-by: Connor McAdams <conmanx360@gmail.com>
Fixes: 44f0c9782cc6 ('ALSA: hda/ca0132: Add tuning controls')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c