]> git.baikalelectronics.ru Git - kernel.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)
commitc9548a48ae219be4dcbbee839a56dbbfe6e36819
treec3fc420b88955669fb1e545acb216a92f5dbb682
parent585d08e913a20d237d5be53db6165f46f3cf695a
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 7356be74c50d ("ALSA: rename
TLV-related macros so that they're friendly to user applications")

Reported-by: Connor McAdams <conmanx360@gmail.com>
Fixes: 6f678902c486 ('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