[alsa-devel] [PATCH] ASoC: sgtl5000: Fix VDDA and VDDIO comparison

Marek Vasut marex at denx.de
Fri Dec 20 14:01:30 CET 2019


On 12/20/19 2:00 PM, Mark Brown wrote:
> On Thu, Dec 19, 2019 at 10:32:57PM +0100, Marek Vasut wrote:
> 
>>  #include "sgtl5000.h"
>>  
>> +#include "../../../drivers/regulator/internal.h"
>> +
> 
> This sort of peering inside the internals of the framework is obviously
> not OK, please add an interface for this if it's needed.

It's needed, unless there is a better way to compare two regulators in
the driver already. Is there ?


More information about the Alsa-devel mailing list