[PATCH v10 14/14] ASoC: Intel: Select catpt and deprecate haswell
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Thu Oct 1 20:54:09 CEST 2020
On Thu, Oct 01, 2020 at 07:33:29PM +0100, Mark Brown wrote:
> On Tue, Sep 29, 2020 at 04:12:47PM +0200, Cezary Rojewski wrote:
> > Prevent sound/soc/intel/haswell code compile and select catpt instead as
> > a recommended solution. Userspace-exposed members are compatible with
> > what is exposed by deprecated solution thus no harm is done. The only
> > visible difference is the newly added 'Loopback Mute' kcontrol.
>
> This doesn't build against current code with x86 allmodconfig, please
> check and resend:
This has a dependency from SPI tree. Can you merge (cherry-pick) one patch from
there to ASoC tree, please?
a2bee00cccf4 ("spi: pxa2xx: Add SSC2 and SSPSP2 SSP registers")
> In file included from /mnt/kernel/sound/soc/intel/catpt/core.h:14,
> from /mnt/kernel/sound/soc/intel/catpt/dsp.c:13:
> /mnt/kernel/sound/soc/intel/catpt/dsp.c: In function 'catpt_dsp_set_regs_defaults':
> /mnt/kernel/sound/soc/intel/catpt/dsp.c:339:29: error: 'SSCR2' undeclared (first use in this function); did you mean 'SSCR0'?
> catpt_writel_ssp(cdev, i, SSCR2, CATPT_SSCR2_DEFAULT);
> ^~~~~
> /mnt/kernel/sound/soc/intel/catpt/registers.h:152:43: note: in definition of macro 'catpt_writel_ssp'
> writel(val, catpt_ssp_addr(cdev, ssp) + (reg))
> ^~~
> /mnt/kernel/sound/soc/intel/catpt/dsp.c:339:29: note: each undeclared identifier is reported only once for each function it appears in
> catpt_writel_ssp(cdev, i, SSCR2, CATPT_SSCR2_DEFAULT);
> ^~~~~
> /mnt/kernel/sound/soc/intel/catpt/registers.h:152:43: note: in definition of macro 'catpt_writel_ssp'
> writel(val, catpt_ssp_addr(cdev, ssp) + (reg))
> ^~~
> /mnt/kernel/sound/soc/intel/catpt/dsp.c:340:29: error: 'SSPSP2' undeclared (first use in this function); did you mean 'SSPSP'?
> catpt_writel_ssp(cdev, i, SSPSP2, CATPT_SSPSP2_DEFAULT);
> ^~~~~~
> /mnt/kernel/sound/soc/intel/catpt/registers.h:152:43: note: in definition of macro 'catpt_writel_ssp'
> writel(val, catpt_ssp_addr(cdev, ssp) + (reg))
> ^~~
>
--
With Best Regards,
Andy Shevchenko
More information about the Alsa-devel
mailing list