Re: [PATCHv5 2/5] ASoC: codec: cpcap: new codec

2018-02-27 Thread Mark Brown
On Fri, Feb 23, 2018 at 09:02:51PM +0100, Sebastian Reichel wrote: > + switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { > + case SND_SOC_DAIFMT_I2S: > + val |= BIT(CPCAP_BIT_ST_DIG_AUD_FS0); > + val |= BIT(CPCAP_BIT_ST_DIG_AUD_FS1); > + break; > +

Re: [PATCHv5 2/5] ASoC: codec: cpcap: new codec

2018-02-27 Thread Mark Brown
On Fri, Feb 23, 2018 at 09:02:51PM +0100, Sebastian Reichel wrote: > + switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { > + case SND_SOC_DAIFMT_I2S: > + val |= BIT(CPCAP_BIT_ST_DIG_AUD_FS0); > + val |= BIT(CPCAP_BIT_ST_DIG_AUD_FS1); > + break; > +

Re: [alsa-devel] [PATCHv5 2/5] ASoC: codec: cpcap: new codec

2018-02-25 Thread kbuild test robot
Hi Sebastian, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on v4.16-rc2 next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [alsa-devel] [PATCHv5 2/5] ASoC: codec: cpcap: new codec

2018-02-25 Thread kbuild test robot
Hi Sebastian, I love your patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on v4.16-rc2 next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCHv5 2/5] ASoC: codec: cpcap: new codec

2018-02-23 Thread Sebastian Reichel
Motorola CPCAP is a PMIC with audio functionality, that can be found on Motorola Droid 4 and probably a few other phones from Motorola's Droid series. The driver has been written from scratch using Motorola's Android driver, register dumps from running Android and datasheet for NXP MC13783UG

[PATCHv5 2/5] ASoC: codec: cpcap: new codec

2018-02-23 Thread Sebastian Reichel
Motorola CPCAP is a PMIC with audio functionality, that can be found on Motorola Droid 4 and probably a few other phones from Motorola's Droid series. The driver has been written from scratch using Motorola's Android driver, register dumps from running Android and datasheet for NXP MC13783UG