08 Jan, 2012
1 commit
-
This is a follow up on 53dea36c70c1857 which fixes the other affected
pcm engines.Description from 53dea36c70c1857:
Don't rely on the codec's channels_min information to decide wheter or
not allocate a substream's DMA buffer. Rather check if the substream
itself was allocated previously.Without this patch I was seeing null-pointer dereferenc in atmel-pcm.
Signed-off-by: Joachim Eastwood
Signed-off-by: Mark Brown
23 Dec, 2011
1 commit
-
Add missing .owner of struct snd_soc_card. This prevents the module from being
removed from underneath its users.Reported-by: Lothar Waßmann
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
17 Dec, 2011
1 commit
16 Dec, 2011
1 commit
-
The variable ret_val is used but not declared. This causes
the following compile error:sound/soc/mid-x86/sst_platform.c: In function ‘sst_platform_open’:
sound/soc/mid-x86/sst_platform.c:274:2: error: ‘ret_val’ undeclared (first use in this function)
sound/soc/mid-x86/sst_platform.c:274:2: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [sound/soc/mid-x86/sst_platform.o] Error 1Fix this.
Signed-off-by: Joerg Roedel
Signed-off-by: Takashi Iwai
15 Dec, 2011
1 commit
-
Signed-off-by: Axel Lin
Acked by: Vinod Koul
Signed-off-by: Mark Brown
14 Dec, 2011
1 commit
-
Signed-off-by: Axel Lin
Acked-by Vinod Koul
Acked-by: Lu Guanqun
Signed-off-by: Mark Brown
05 Dec, 2011
1 commit
-
lower level drivers typically register with upper layers.
So fix by exporting symbols from sst_platform driver for dsp driver to
register to sst platform driverNow this driver doesnt depend on sst driver, so remove the dependency
and the header filesSigned-off-by: Vinod Koul
Signed-off-by: Mark Brown
24 Nov, 2011
1 commit
-
Factor out some boilerplate code.
Signed-off-by: Axel Lin
Acked-by: Vinod Koul
Signed-off-by: Mark Brown
01 Nov, 2011
1 commit
-
Lots of sound drivers were getting module.h via the implicit presence
of it in but we are going to clean that up. So
fix up those users now.Signed-off-by: Paul Gortmaker
08 Oct, 2011
1 commit
-
The core will sync DAPM as part of the card initialization, there is no
need for machine drivers to do so during their setup.OMAP drivers are omitted as I know Peter already has patches for them.
Signed-off-by: Mark Brown
27 Sep, 2011
2 commits
-
It is not used outside this driver so no need to make the symbol global.
Signed-off-by: Axel Lin
Signed-off-by: Mark Brown -
Both *socdev and *codec of struct mfld_mc_private are not being used
in this driver, remove it.Signed-off-by: Axel Lin
Signed-off-by: Mark Brown
09 Sep, 2011
3 commits
-
snd_pcm_hw_constraint_integer() could return -1, in this case, sst platform is
not opened successfully. However the corresponding close callback isn't able
to be called later on to release these two allocated memories, thus resulting
in memory leak.This patch moves the check for hardware contraints earlier, thus resolving this
issue.Signed-off-by: Lu Guanqun
Acked-by: Vinod Koul
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Use the builtin snd_soc_set_runtime_hwparams() instead of assigning it by
myself.Signed-off-by: Lu Guanqun
Acked-by: Vinod Koul
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Lu Guanqun
Acked-by: Vinod Koul
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
08 Jun, 2011
1 commit
-
Currently pcm_new() passes in 3 arguments :- card, pcm and DAI.
Refactor this to only pass in 1 argument (i.e. the rtd) since struct rtd contains
card, pcm and DAI along with other members too that are useful too.Signed-off-by: Liam Girdwood
Signed-off-by: Mark Brown
04 May, 2011
2 commits
-
Signed-off-by: xingchao
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
19 Apr, 2011
2 commits
-
Fix trivial conflict caused by silly spelling fix patch.
Conflicts:
sound/soc/codecs/wm8994.c
12 Apr, 2011
2 commits
-
Fix the possible dead lock shown below:
spin_lock
sst_get_stream_status
sst_period_elapsed
intel_sst_interrupt
handle_IRQ_event
handle_fasteoi_irq
do_IRQ
common_interrupt
spin_lock
sst_set_stream_status
sst_platform_pcm_triggerSigned-off-by: Lu Guanqun
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
06 Apr, 2011
3 commits
-
Signed-off-by: Lu Guanqun
Signed-off-by: Mark Brown -
Signed-off-by: Lu Guanqun
Signed-off-by: Mark Brown -
module_name will be checked in register_sst_card.
It will fail to register sst card if it's not initialized.Signed-off-by: Lu Guanqun
Signed-off-by: Mark Brown
31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
16 Feb, 2011
2 commits
-
Pulseaudio doesnt work with current driver and it was root caused to absense of
hw_params function and malloc_pages in it.
This patch adds this and allows pa to work fine with these driversSigned-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This patch removes the old method of soc-audio device creation in mfld machine
and makes use of new soc_register_card API to register the cardSigned-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
11 Feb, 2011
1 commit
-
This patch modifies the mfld_machine to use the new jack apis for adding the
voltage zones for jack type detection. It also modifed TI sn95031 codec driver
to use these new apisSigned-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
10 Feb, 2011
1 commit
-
This patch adds support for registering jack interupt
and registering jack with coreSigned-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
07 Feb, 2011
1 commit
-
Enabling medfield asoc driver causes compliation error when intel_sst
is not selected
ERROR: "register_sst_card" [sound/soc/mid-x86/snd-soc-sst-platform.ko]
undefined!This patch puts proper dependency to elimate build error
Signed-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Reported-by: Andrew Morton
Signed-off-by: Mark Brown
31 Jan, 2011
2 commits
-
This configures the capture unused pins
Signed-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
19 Jan, 2011
2 commits
-
The interface between sst platform driver and intel sst dsp driver
have been changed in Greg's staging tree - next branchThis patch adds the interface changes compatible with the new interface
in Greg's staging treeSigned-off-by: Harsha Priya
Signed-off-by: Vinod Koul
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
Signed-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
11 Jan, 2011
1 commit
-
Few funtions can be modularized in this driver to make them look cleaner
like managing the stream status with locks and filling pcm parameters.This patch adds helper functions to do the same.
Signed-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
10 Jan, 2011
2 commits
-
previous commit e62255f2adf2 introduced DDEBUG flag in Makefile
This causes all debug statemenets to be ON.This patch removes this flag
Signed-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
this patch fixes the style inconsistency by removing empty space in MODULE_ALIAS
also removes a redundant return statementSigned-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown
06 Jan, 2011
2 commits
-
This patch adds the makefile and kconfig changes for mid asoc drivers:
platform and machine driver which are introduced in 2 preceeding patchesSigned-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown -
This patch adds the medfield machine driver
Machine driver glues the sn95031 codec driver and sst_platform driver to form the asoc sound driverSigned-off-by: Vinod Koul
Signed-off-by: Harsha Priya
Acked-by: Liam Girdwood
Signed-off-by: Mark Brown