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

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue Mar 10 19:50:02 CET 2020



On 3/10/20 12:19 PM, Mark Brown wrote:
> 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.

Agree, this was just a quick fix to solve compilation issues.


More information about the Alsa-devel mailing list