summaryrefslogtreecommitdiff
path: root/arch/blackfin/mach-bf537
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-02-23 08:13:26 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-26 10:38:14 -0500
commit15001033f4149162359de0ca2d74b39933358fc3 (patch)
tree1fa61c332964960f83d32e34cfca9ed0de76bdd5 /arch/blackfin/mach-bf537
parent8df1d2ac9cf17ba3db237f369a1e58f3c247a9f5 (diff)
media: i2c: TDA1997x: add CONFIG_SND dependency
Without CONFIG_SND, we get a link error: ERROR: "snd_soc_register_codec" [drivers/media/i2c/tda1997x.ko] undefined! ERROR: "snd_soc_unregister_codec" [drivers/media/i2c/tda1997x.ko] undefined! ERROR: "snd_pcm_hw_constraint_minmax" [drivers/media/i2c/tda1997x.ko] undefined! This adds the same Kconfig dependency that we have in other media drivers, using 'select SND_PCM' to ensure that we have can call snd_pcm_hw_constraint_minmax, while depending on CONFIG_SND_SOC for registering the codec. Fixes: 9ac0038db9a7 ("media: i2c: Add TDA1997x HDMI receiver driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'arch/blackfin/mach-bf537')
0 files changed, 0 insertions, 0 deletions