[alsa-devel] [PATCH] ASoC CS4270 codec device driver
Takashi Iwai
tiwai at suse.de
Mon Jul 30 22:00:33 CEST 2007
At Mon, 30 Jul 2007 13:18:12 -0500,
Timur Tabi wrote:
>
> This patch adds ALSA SoC support for the Cirrus Logic CS4270 codec. The
> following features are suppored:
>
> 1) Stand-alone and software mode
> 2) Software mode via I2C only
> 3) Master mode, not Slave
> 4) No power management
>
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
>
> This code is based on the Liam Girdwood's ASoC tree.
>
> Please note that I was unable to clone Liam's ASoC git repositories because
> the http interface does not work for me, and my corporate firewall blocks the
> git protocol. I had to download a snapshot and create a bare git repository
> from it. Therefore, git may complain when trying to apply this patch.
>
> include/linux/i2c-id.h | 1 +
> sound/soc/codecs/Kconfig | 20 ++
> sound/soc/codecs/Makefile | 2 +
> sound/soc/codecs/cs4270.c | 803 +++++++++++++++++++++++++++++++++++++++++++++
> sound/soc/codecs/cs4270.h | 28 ++
> 5 files changed, 854 insertions(+), 0 deletions(-)
> create mode 100644 sound/soc/codecs/cs4270.c
> create mode 100644 sound/soc/codecs/cs4270.h
Thanks for the patch.
The patch looks OK at a brief glance, but it seems to have tiny
coding-style issues in some places. Try to run scripts/checkpatch.pl
in the linux kernel.
Takashi
More information about the Alsa-devel
mailing list