From: Timur Tabi <timur@freescale.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH v3] ASoC CS4270 codec device driver
Date: Tue, 31 Jul 2007 11:12:44 -0500 [thread overview]
Message-ID: <46AF5F7C.5020309@freescale.com> (raw)
In-Reply-To: <s5h4pjkva0g.wl%tiwai@suse.de>
Takashi Iwai wrote:
> At Tue, 31 Jul 2007 10:46:52 -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@freescale.com>
>
> Thanks, it can be now applied fine.
>
> The only thing I noticed is below (oh I should have mentioned it
> before...):
>
>> diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
>> index e5fb437..7824880 100644
>> --- a/sound/soc/codecs/Kconfig
>> +++ b/sound/soc/codecs/Kconfig
>> @@ -17,3 +17,23 @@ config SND_SOC_WM8753
>> config SND_SOC_WM9712
>> tristate
>> depends on SND_SOC
>> +
>> +# Cirrus Logic CS4270 Codec
>> +config SND_SOC_CS4270
>> + tristate
>> + depends on SND_SOC
>> +
>> +# Cirrus Logic CS4270 Codec Hardware Mute Support
>> +# Select if you have external muting circuitry attached to your CS4270.
>> +config SND_SOC_CS4270_HWMUTE
>> + bool
>> + depends on SND_SOC_CS4270
>> +
>> +# Cirrus Logic CS4270 Codec VD = 3.3V Errata
>> +# Select if you are affected by the errata where the part will not function
>> +# if MCLK divide-by-1.5 is selected and VD is set to 3.3V. The driver will
>> +# not select any sample rates that require MCLK to be divided by 1.5.
>> +config SND_SOC_CS4270_VD33_ERRATA
>> + bool
>> + depends on SND_SOC_CS4270
>> +
>
> I'd suggest to convert these comments to help texts.
> Also, usually the items to be chosen via menuconfig have
> tristate "XXXX"
> or
> bool "XXX"
>
> Could you fix them, then I'll finally merge it to upstream?
I am following the model of the other Kconfig options. If I add the "XXXX" and the help
text, then they become selectable from "make menuconfig", but they would be the only ones
to show up like that.
I think the reason why they are like this is because they're supposed to be selected from
the machine driver that uses them, like this:
config SND_AT91_SOC_ETI_B1_WM8731
tristate "SoC Audio support for WM8731-based Endrelia ETI-B1 boards"
depends on SND_AT91_SOC && (MACH_ETI_B1 || MACH_ETI_C1)
select SND_AT91_SOC_SSC
select SND_SOC_WM8731
help
Say Y if you want to add support for SoC audio on WM8731-based
Endrelia Technologies Inc ETI-B1 or ETI-C1 boards.
So that the only way you can specify the CS4270 is if you have a machine driver that uses it.
--
Timur Tabi
Linux Kernel Developer @ Freescale
next prev parent reply other threads:[~2007-07-31 16:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 15:46 [PATCH v3] ASoC CS4270 codec device driver Timur Tabi
2007-07-31 16:00 ` Takashi Iwai
2007-07-31 16:12 ` Timur Tabi [this message]
2007-07-31 16:17 ` Takashi Iwai
2007-07-31 16:31 ` Takashi Iwai
2007-07-31 16:41 ` Timur Tabi
2007-07-31 18:34 ` Trent Piepho
2007-07-31 18:53 ` Timur Tabi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46AF5F7C.5020309@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.