[7/9] ASoC: amd: ps: enable SoundWire dma driver build

Message ID 20230516103543.2515097-8-Vijendar.Mukunda@amd.com
State New
Headers
Series [1/9] ASoC: amd: ps: create platform devices based on acp config |

Commit Message

Mukunda,Vijendar May 16, 2023, 10:35 a.m. UTC
  Enable SoundWire dma driver build for PS platform.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
---
 sound/soc/amd/ps/Makefile | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

kernel test robot May 17, 2023, 4:17 p.m. UTC | #1
Hi Vijendar,

kernel test robot noticed the following build errors:

[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on next-20230517]
[cannot apply to linus/master v6.4-rc2]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Vijendar-Mukunda/ASoC-amd-ps-create-platform-devices-based-on-acp-config/20230516-195625
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link:    https://lore.kernel.org/r/20230516103543.2515097-8-Vijendar.Mukunda%40amd.com
patch subject: [PATCH 7/9] ASoC: amd: ps: enable SoundWire dma driver build
config: x86_64-allyesconfig
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel-lab-lkp/linux/commit/9200bd753a28fb732d2b59cfe767df1f66517085
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Vijendar-Mukunda/ASoC-amd-ps-create-platform-devices-based-on-acp-config/20230516-195625
        git checkout 9200bd753a28fb732d2b59cfe767df1f66517085
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 olddefconfig
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305172323.ZFaMoDeB-lkp@intel.com/

All errors (new ones prefixed by >>):

>> make[6]: *** No rule to make target 'sound/soc/amd/ps/snd-ps-sdw-dma.o', needed by 'sound/soc/amd/ps/built-in.a'.
   make[6]: Target 'sound/soc/amd/ps/' not remade because of errors.
  
Mukunda,Vijendar May 18, 2023, 5:01 a.m. UTC | #2
On 17/05/23 21:47, kernel test robot wrote:
> Hi Vijendar,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on broonie-sound/for-next]
> [also build test ERROR on next-20230517]
> [cannot apply to linus/master v6.4-rc2]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url:    https://github.com/intel-lab-lkp/linux/commits/Vijendar-Mukunda/ASoC-amd-ps-create-platform-devices-based-on-acp-config/20230516-195625
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
> patch link:    https://lore.kernel.org/r/20230516103543.2515097-8-Vijendar.Mukunda%40amd.com
> patch subject: [PATCH 7/9] ASoC: amd: ps: enable SoundWire dma driver build
> config: x86_64-allyesconfig
> compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
> reproduce (this is a W=1 build):
>         # https://github.com/intel-lab-lkp/linux/commit/9200bd753a28fb732d2b59cfe767df1f66517085
>         git remote add linux-review https://github.com/intel-lab-lkp/linux
>         git fetch --no-tags linux-review Vijendar-Mukunda/ASoC-amd-ps-create-platform-devices-based-on-acp-config/20230516-195625
>         git checkout 9200bd753a28fb732d2b59cfe767df1f66517085
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         make W=1 O=build_dir ARCH=x86_64 olddefconfig
>         make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202305172323.ZFaMoDeB-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>>> make[6]: *** No rule to make target 'sound/soc/amd/ps/snd-ps-sdw-dma.o', needed by 'sound/soc/amd/ps/built-in.a'.
will fix it.
>    make[6]: Target 'sound/soc/amd/ps/' not remade because of errors.
>
  

Patch

diff --git a/sound/soc/amd/ps/Makefile b/sound/soc/amd/ps/Makefile
index 383973a12f6a..126a973ea5d7 100644
--- a/sound/soc/amd/ps/Makefile
+++ b/sound/soc/amd/ps/Makefile
@@ -3,7 +3,9 @@ 
 snd-pci-ps-objs := pci-ps.o
 snd-ps-pdm-dma-objs := ps-pdm-dma.o
 snd-soc-ps-mach-objs := ps-mach.o
+snd-ps-sdw-dma-obj := ps-sdw-dma.o
 
 obj-$(CONFIG_SND_SOC_AMD_PS) += snd-pci-ps.o
 obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-pdm-dma.o
+obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-sdw-dma.o
 obj-$(CONFIG_SND_SOC_AMD_PS_MACH)   += snd-soc-ps-mach.o