[PATCH 2/3] ASoC: rt5682: fix compilation issues without I2C

Mark Brown broonie at kernel.org
Tue Mar 10 18:19:29 CET 2020


On Tue, Mar 10, 2020 at 11:35:08AM -0500, Pierre-Louis Bossart wrote:
> Exclude all I2C-related code from compilation to avoid compilation
> errors and defined but not used warnings.

I think it would be better to do this by factoring the bus code out into
a separate file like we've done with I2C and SPI, it's neater than
ifdefs and easier to get right going forwards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200310/e48702d5/attachment.sig>


More information about the Alsa-devel mailing list