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: alsa-devel-boun...@alsa-project.org 
[mailto:alsa-devel-boun...@alsa-project.org] On Behalf Of Andy Shevchenko
Sent: 2017年12月20日 2:42
To: Joe Perches <j...@perches.com>
Cc: linux-fb...@vger.kernel.org; David Airlie <airl...@linux.ie>; Joonas 
Lahtinen <joonas.lahti...@linux.intel.com>; Heiko Carstens 
<heiko.carst...@de.ibm.com>; ALSA Development Mailing List 
<alsa-de...@alsa-project.org>; dri-de...@lists.freedesktop.org; Peter Ujfalusi 
<peter.ujfal...@ti.com>; linux-s...@vger.kernel.org; Linux OMAP Mailing List 
<linux-o...@vger.kernel.org>; James E.J. Bottomley <j...@linux.vnet.ibm.com>; 
linux-scsi <linux-s...@vger.kernel.org>; Takashi Iwai <ti...@suse.com>; 
Sebastian Ott <seb...@linux.vnet.ibm.com>; James Smart 
<james.sm...@broadcom.com>; Cezary Jackiewicz <cezary.jackiew...@gmail.com>; 
linux-ser...@vger.kernel.org; Jiri Slaby <jsl...@suse.com>; Darren Hart 
<dvh...@infradead.org>; Zhang Rui <rui.zh...@intel.com>; Dick Kennedy 
<dick.kenn...@broadcom.com>; Mathias Nyman <mathias.ny...@intel.com>; 
Bartlomiej Zolnierkiewicz <b.zolnier...@samsung.com>; Peter Oberparleiter 
<ober...@linux.vnet.ibm.com>; intel-gfx@lists.freedesktop.org; Jani Nikula 
<jani.nik...@linux.intel.com>; Eduardo Valentin <edubez...@gmail.com>; Mark 
Brown <broo...@kernel.org>; Rodrigo Vivi <rodrigo.v...@intel.com>; Platform 
Driver <platform-driver-...@vger.kernel.org>; Felipe Balbi <ba...@kernel.org>; 
Martin K. Petersen <martin.peter...@oracle.com>; Greg Kroah-Hartman 
<gre...@linuxfoundation.org>; linux...@vger.kernel.org; USB 
<linux-...@vger.kernel.org>; Liam Girdwood <lgirdw...@gmail.com>; 
linux-ker...@vger.kernel.org; Luis R. Rodriguez <mcg...@kernel.org>; Andy 
Shevchenko <a...@infradead.org>; Martin Schwidefsky <schwidef...@de.ibm.com>; 
Jarkko Nikula <jarkko.nik...@bitmer.com>
Subject: Re: [alsa-devel] [-next PATCH 2/4] treewide: Use DEVICE_ATTR_RW

On Tue, Dec 19, 2017 at 8:15 PM, Joe Perches <j...@perches.com> 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 <andy.shevche...@gmail.com>

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
alsa-de...@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to