Re: [PATCH] hda: Added mono mux mixer for some STAC92HD7XXX family codecs

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

 



At Fri, 18 Jan 2008 16:44:42 -0500,
Matthew Ranostay wrote:
> 
> Some 92HD7XXX family codecs have a mono mux, added support for selecting the input path to the mono out.
> 
> Signed-off-by: Matthew Ranostay <mranostay@xxxxxxxxxxxxxxxxx>

Could you fix the coding-style issues reported by checkpatch.pl?

> +static struct hda_input_mux stac92hd71bxx_mono_mux = {
> +	/* count set later */

This is a bit dangerous.  In theory, we may have several hd-audio
instances, e.g. an on-board and a graphic card.  The local common
variable may conflict between two instances.  Rather copy the whole
input_mux to spec, and modify locally.


thanks,

Takashi
_______________________________________________
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