Does anyone know how to use Conexant CX20921 to develop our own application. I 
cannot find anywhere to download the software and manuals.

Thanks to all
J.D

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Andy Shevchenko
Sent: 2017年12月20日 2:42
To: Joe Perches <[email protected]>
Cc: [email protected]; David Airlie <[email protected]>; Joonas 
Lahtinen <[email protected]>; Heiko Carstens 
<[email protected]>; ALSA Development Mailing List 
<[email protected]>; [email protected]; Peter Ujfalusi 
<[email protected]>; [email protected]; Linux OMAP Mailing List 
<[email protected]>; James E.J. Bottomley <[email protected]>; 
linux-scsi <[email protected]>; Takashi Iwai <[email protected]>; 
Sebastian Ott <[email protected]>; James Smart 
<[email protected]>; Cezary Jackiewicz <[email protected]>; 
[email protected]; Jiri Slaby <[email protected]>; Darren Hart 
<[email protected]>; Zhang Rui <[email protected]>; Dick Kennedy 
<[email protected]>; Mathias Nyman <[email protected]>; 
Bartlomiej Zolnierkiewicz <[email protected]>; Peter Oberparleiter 
<[email protected]>; [email protected]; Jani Nikula 
<[email protected]>; Eduardo Valentin <[email protected]>; Mark 
Brown <[email protected]>; Rodrigo Vivi <[email protected]>; Platform 
Driver <[email protected]>; Felipe Balbi <[email protected]>; 
Martin K. Petersen <[email protected]>; Greg Kroah-Hartman 
<[email protected]>; [email protected]; USB 
<[email protected]>; Liam Girdwood <[email protected]>; 
[email protected]; Luis R. Rodriguez <[email protected]>; Andy 
Shevchenko <[email protected]>; Martin Schwidefsky <[email protected]>; 
Jarkko Nikula <[email protected]>
Subject: Re: [alsa-devel] [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

On Tue, Dec 19, 2017 at 8:15 PM, Joe Perches <[email protected]> wrote:
> Convert DEVICE_ATTR uses to DEVICE_ATTR_RW where possible.
>
> Done with perl script:
>
> $ git grep -w --name-only DEVICE_ATTR | \
>   xargs perl -i -e 'local $/; while (<>) { 
> s/\bDEVICE_ATTR\s*\(\s*(\w+)\s*,\s*\(?(\s*S_IRUGO\s*\|\s*S_IWUSR|\s*S_IWUSR\s*\|\s*S_IRUGO\s*|\s*0644\s*)\)?\s*,\s*\1_show\s*,\s*\1_store\s*\)/DEVICE_ATTR_RW(\1)/g;
>  print;}'

>  drivers/platform/x86/compal-laptop.c | 18 +++++----------

> --- a/drivers/platform/x86/compal-laptop.c
> +++ b/drivers/platform/x86/compal-laptop.c
> @@ -679,18 +679,12 @@ static int bat_writeable_property(struct 
> power_supply *psy,
>  /* ============== */
>  /* Driver Globals */
>  /* ============== */
> -static DEVICE_ATTR(wake_up_pme,
> -               0644, wake_up_pme_show,         wake_up_pme_store);
> -static DEVICE_ATTR(wake_up_modem,
> -               0644, wake_up_modem_show,       wake_up_modem_store);
> -static DEVICE_ATTR(wake_up_lan,
> -               0644, wake_up_lan_show, wake_up_lan_store);
> -static DEVICE_ATTR(wake_up_wlan,
> -               0644, wake_up_wlan_show,        wake_up_wlan_store);
> -static DEVICE_ATTR(wake_up_key,
> -               0644, wake_up_key_show, wake_up_key_store);
> -static DEVICE_ATTR(wake_up_mouse,
> -               0644, wake_up_mouse_show,       wake_up_mouse_store);
> +static DEVICE_ATTR_RW(wake_up_pme);
> +static DEVICE_ATTR_RW(wake_up_modem); static 
> +DEVICE_ATTR_RW(wake_up_lan); static DEVICE_ATTR_RW(wake_up_wlan); 
> +static DEVICE_ATTR_RW(wake_up_key); static 
> +DEVICE_ATTR_RW(wake_up_mouse);

Acked-by: Andy Shevchenko <[email protected]>

for PDx86 bits.

Have to say that while it doesn't change the attributes here, it might require 
still to be revisited by security people, if they wish.

--
With Best Regards,
Andy Shevchenko
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to