[alsa-devel] [PATCH] ASoC: soc-io: Only force use regmap if the codec have it implemented

Peter Ujfalusi peter.ujfalusi at ti.com
Wed Aug 1 14:20:29 CEST 2012


On 08/01/2012 03:16 PM, Mark Brown wrote:
> On Wed, Aug 01, 2012 at 03:01:45PM +0300, Peter Ujfalusi wrote:
> 
>>  	case SND_SOC_REGMAP:
>>  		/* Device has made its own regmap arrangements */
>> -		codec->using_regmap = true;
> 
> No, this is crazy.

Why?
We set it when we have confirmed that the codec actually have regmap of it's own.

-- 
Péter


More information about the Alsa-devel mailing list