[alsa-devel] [PATCH v7] ASoC: cs53l30: Add codec driver support for Cirrus CS53L30

Mark Brown broonie at kernel.org
Fri May 27 22:38:39 CEST 2016


On Wed, May 25, 2016 at 12:38:34PM -0700, Nicolin Chen wrote:

A few minor issues but this is mostly OK so I'll apply - please send
followup patches.

> +	SOC_DOUBLE_R_TLV("ADC1 Pre Amp Gain", CS53L30_ADC1A_AFE_CTL,
> +			 CS53L30_ADC1B_AFE_CTL, CS53L30_ADCxy_PREAMP_SHIFT,
> +			 2, 0, pga_preamp_tlv),
> +	SOC_DOUBLE_R_TLV("ADC2 Pre Amp Gain", CS53L30_ADC2A_AFE_CTL,
> +			 CS53L30_ADC2B_AFE_CTL, CS53L30_ADCxy_PREAMP_SHIFT,
> +			 2, 0, pga_preamp_tlv),

Volume controls should end Volume.

> +	regcache_cache_only(cs53l30->regmap, false);
> +	regcache_sync(cs53l30->regmap);

Should really check the return value here.

> +MODULE_AUTHOR("Paul Handrigan, Cirrus Logic Inc, <Paul.Handrigan at cirrus.com>");

I'd have much preferred to have seen Paul's signoff on the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160527/d092c861/attachment.sig>


More information about the Alsa-devel mailing list