Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1927445a authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Benjamin Herrenschmidt
Browse files

powerpc: Fix GENERIC_ISA_DMA dependency



On PowerPC we should always use generic ISA DMA API implementation
as there is simply no other implementation exist.

Without this patch, the following build error pops up:

  sound/built-in.o: In function 'snd_dma_pointer':
  (.text+0x74ae): undefined reference to 'dma_spin_lock'
  ...
  make: *** [.tmp_vmlinux1] Error 1

This is PPC_85xx, SMP and some sound drivers set to =y.

Signed-off-by: default avatarAnton Vorontsov <avorontsov@mvista.com>
Acked-by: default avatarDave Liu <daveliu@freescale.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent e9ae9dab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -669,7 +669,7 @@ config NEED_SG_DMA_LENGTH

config GENERIC_ISA_DMA
	bool
	depends on PPC64 || POWER4 || 6xx && !CPM2
	depends on ISA_DMA_API
	default y

config PPC_INDIRECT_PCI