Re: [PATCH] ASoC: Add max98926 codec driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 04, 2016 at 02:29:34PM -0800, anish kumar wrote:
> Signed-off-by: anish kumar <yesanishhere@xxxxxxxxx>

This looks mostly good, a couple of small things.

> +static const struct snd_kcontrol_new max98926_mixer_controls[] = {
> +	SOC_DAPM_SINGLE("PCM Single", MAX98926_SPK_AMP,
> +		MAX98926_INSELECT_MODE_SHIFT, 0, 0),
> +	SOC_DAPM_SINGLE("PDM Single", MAX98926_SPK_AMP,
> +		MAX98926_INSELECT_MODE_SHIFT, 1, 0),

Most of these mixer controls look like they're on/off switches (I'd
expect them to be as mixer controls) so should have names ending in
" Switch" as per ControlNames.txt so userspace can understand them.

> +static const struct of_device_id max98926_of_match[] = {
> +	{ .compatible = "maxim, max98926", },

There shouldn't be a space in the compatible string.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux