Re: [alsa-devel] [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Nicolin Chen
On Tue, Feb 25, 2014 at 12:54:04AM -0300, Fabio Estevam wrote: > Hi Nicolin, > > On Tue, Feb 25, 2014 at 12:46 AM, Nicolin Chen > wrote: > >> So register it from the ESAI driver then. > > > > Then I think I need to find a way to pass the clock to CODEC driver... > > Does this example from mxs-sa

Re: [alsa-devel] [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Fabio Estevam
Hi Nicolin, On Tue, Feb 25, 2014 at 12:46 AM, Nicolin Chen wrote: >> So register it from the ESAI driver then. > > Then I think I need to find a way to pass the clock to CODEC driver... Does this example from mxs-saif help? commit 7c9e6150f2e7cbd60e0bc9a19118ca1dc97d2780 Author: Shawn Guo Date

Re: [alsa-devel] [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Nicolin Chen
On Mon, Feb 24, 2014 at 06:54:09PM +0100, Lars-Peter Clausen wrote: > Hi, > > Couple of trivial things. Will fix them all. Thanks a lot, Nicolin Chen > > On 02/24/2014 07:55 AM, Nicolin Chen wrote: > [...] > >+config SND_SOC_CS42888 > >+tristate "Cirrus Logic CS42888 CODEC" > >+depends

Re: [alsa-devel] [PATCH] ASoC: cs42888: Add codec driver support

2014-02-24 Thread Lars-Peter Clausen
Hi, Couple of trivial things. On 02/24/2014 07:55 AM, Nicolin Chen wrote: [...] +config SND_SOC_CS42888 + tristate "Cirrus Logic CS42888 CODEC" + depends on I2C should select REGMAP_I2C + [...] +#define CS42888_NUM_SUPPLIES 4 +static const char *cs42888_supply_names[CS42888_NU