9 Jan
2015
9 Jan
'15
12:15 p.m.
On Fri, 9 Jan 2015 12:24:12 +0200 Jyri Sarha jsarha@ti.com wrote:
select SND_SOC_TDA998X if SND_SOC
should work in all cases.
I think that would still fail if DRM and TDA998x is built in and SND_SOC is built as modules. A request_module() call before tda9998x_codec_register() should help. Or could could write:
select SND_SOC_TDA998X if (SND_SOC=DRM_I2C_NXP_TDA998X || SND_SOC=y)
request_module() is not needed because there are functions calls from the transmitter to the codec.
With the simple "if SND_SOC", make menuconfig refuses to have TDA998x built in and SND_SOC built as modules, as it should.
--
Ken ar c'hentaƱ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/