Re: [PATCH v10 14/14] ASoC: Intel: Select catpt and deprecate haswell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux