]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00161014 ASoC: don't clobber platform DMA driver ops
authorAlan Tull <alan.tull@freescale.com>
Sat, 29 Oct 2011 00:14:13 +0000 (19:14 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:53 +0000 (14:09 +0200)
commit5baa640a0cd09cf8d67c8e00e43aba8317aa5fd2
treec26c26a55fa71f36121e640896d52b4d92c574c0
parentc0e0652b45a562176b201f291c34df3b38518734
ENGR00161014 ASoC: don't clobber platform DMA driver ops

Previously, only one static struct for ops existed for all
platform DMA drivers to share.  Half of the ops are shared
functions which don't have stubs in the ALSA core.  The
other half are initialized to point directly to ops in the
platform driver.  This creates problems where each time
soc_new_pcm is called, the new platform driver's ops would
overwrite a subset of the ops.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
include/sound/soc-dai.h
include/sound/soc.h
sound/soc/soc-core.c