Arnd Bergmann 15001033f4 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>
2018-02-26 10:38:14 -05:00
..
2017-11-30 04:42:19 -05:00
2018-02-14 13:16:31 -05:00
2018-02-14 13:16:31 -05:00
2018-02-14 13:16:31 -05:00
2018-02-14 13:16:31 -05:00
2018-02-26 09:25:01 -05:00
2018-02-23 03:14:12 -05:00
2018-02-26 08:30:08 -05:00
2018-02-23 03:21:27 -05:00
2018-02-14 13:16:31 -05:00
2018-02-22 12:54:28 -05:00
2017-12-18 11:52:24 -05:00