21 Nov, 2013
1 commit
-
…e/sound into for-linus
ASoC: Fixes for v3.13
A bunch of device specific fixes, nothing with a general impact here.
20 Nov, 2013
3 commits
-
DMAEngine will stall without this patch
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
If "id == ARRAY_SIZE(routes)" then we read one space beyond the end of
the routes[] array.Signed-off-by: Dan Carpenter
Acked-by: Kuninori Morimoto
Signed-off-by: Mark Brown
18 Nov, 2013
1 commit
-
rsnd_dai_connect() is using mod before NULL checking.
This patch fixes it upReported-by: Dan Carpenter
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
08 Nov, 2013
4 commits
-
Use WARN_ON() and handle the error cases accordingly.
Acked-by: Kuninori Morimoto
Signed-off-by: Takashi Iwai
Signed-off-by: Mark Brown -
Use WARN_ON() and handle the error cases accordingly.
Acked-by: Kuninori Morimoto
Signed-off-by: Takashi Iwai
Signed-off-by: Mark Brown
06 Nov, 2013
1 commit
-
config RCAR_CLK_ADG is not exist
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
04 Nov, 2013
1 commit
31 Oct, 2013
1 commit
-
Remove original filter from rsnd_dma_init(),
and use SH-DMA suitable filter.
This new style can be used from Device Tree.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
24 Oct, 2013
1 commit
21 Oct, 2013
2 commits
-
R-Car sound has clock pin for each SSI, and sometimes,
these pins are shared with paired SSI.
It may sometimes become "SSI-A clock pin is master" and
"SSI-B clock pin is slave", but "SSI-A/B clock pins are shared".
SSI-B needs SSI-A clock in this case.Current R-Car sound driver is using RSND_SSI_xxx flag
to control this kind of shared pin behavior.But, this information, especially clock master setting,
can be got from ASoC set_fmt settings.
This patch removes rsnd_ssi_mode_init() and extend rsnd_ssi_mode_set()
to controlling pin settings via .set_fmt.This patch doesn't removes RSND_SSI_CLK_FROM_ADG flag at this point
to avoid conflict branch merging between ASoC SH-ARM.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Current SSI needs RSND_SSI_DEPENDENT flag to
decide dependent/independent mode.
And SCU needs RSND_SCU_USE_HPBIF flag
to decide HPBIF is enable/disable.
But these 2 means same things.This patch adds new rsnd_scu_hpbif_is_enable()
function, and merges above methods.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
12 Oct, 2013
3 commits
-
Current rcar is using rsnd_is_gen1/gen2() to checking its
IP generation, but it needs data mask.
This patch fixes it up.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
checking id in rsnd_dai_get() is good idea
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Un-implemented platform callback is not error.
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
25 Sep, 2013
2 commits
-
Current Linux kernel is supporting regmap/regmap_field,
and, it is good match for Renesas Sound Gen1/Gen2 register mapping.
This patch uses regmap instead of original method for register accessSigned-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
adg.c only used rsnd_priv_read/write/bset()
which is the only user of NULL mod.
but, it can be removed.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
24 Sep, 2013
1 commit
-
${LINUX}/sound/soc/sh driver can be compiled from
SuperH and ARM.
but, ${LINUX}/sound/soc/sh/rcar driver included
SH-ARM specific header.
This patch removes itSigned-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
17 Sep, 2013
1 commit
-
Current rsnd_gen_ops didn't care about .probe and .remove
functions, but it was not good sense.
This patch tidyup itSigned-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
09 Sep, 2013
1 commit
-
it should be *USE*, not *USB*
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
30 Aug, 2013
1 commit
26 Aug, 2013
1 commit
-
Current FSI is supporting DMAEngine transfer,
but, it needs to use work queue.
Therefore, DMA transfer settings might be late if there is heavy task.
This patch reserves next period beforehand on DMA transfer function.
Android sound will be breaking up without this patch.Tested-by: Tomohito Esaki
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
07 Aug, 2013
5 commits
-
This patch cleanups empty functions on scu
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
This patch adds BUSIF support for R-Car sound DMAEngine transfer.
The sound data will be transferred via FIFO which can cover blank time
which will happen when DMA channel is switching.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
This patch adds DMAEngine transfer on SSI.
But, it transfers sound data from memory to SSI directly
without using HPBIF at this time.
It will be updated soonSigned-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
R-Car Sound driver will support DMA transfer in the future,
then, SSI/SRU/SRC will use it.
Current R-Car can't use soc-dmaengine-pcm.c since its DMAEngine
doesn't support dmaengine_prep_dma_cyclic(),
and SSI needs double plane transfer (which needs special submit) on DMAC.
This patch adds common DMAEngine method for itSigned-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Current rsnd driver is using struct rsnd_dai_platform_info
so that indicate sound DAI information (playback/capture SSI ID).
But, SSI settings were also required separately.
Thus, platform settings was very un-understandable.
This patch adds dai_id to SSI
settings, and removed rsnd_dai_platform_info.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
31 Jul, 2013
1 commit
-
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should be
replaced with IS_ERR(), and also remove the dev_err call to avoid redundant
error message.Signed-off-by: Wei Yongjun
Acked-by: Kuninori Morimoto
Signed-off-by: Mark Brown
29 Jul, 2013
6 commits
-
Renesas R-Car series sound circuit consists of SSI and its peripheral.
But this peripheral circuit is different between
R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
(Actually, there are many difference in Generation1 chips)As 1st protype, this patch adds SSI feature on this driver.
But, it is PIO sound playback support only at this point.
The DMA transfer, and capture feature will be supported in the futureSigned-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Renesas R-Car series sound circuit consists of SSI and its peripheral.
But this peripheral circuit is different between
R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
(Actually, there are many difference in Generation1 chips)This patch adds ADG feature which controls sound clock
Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Renesas R-Car series sound circuit consists of SSI and its peripheral.
But this peripheral circuit is different between
R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
(Actually, there are many difference in Generation1 chips)This patch adds SCU feature on this driver.
But, it defines SCU style only, does nothing at this point.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Renesas R-Car series sound circuit consists of SSI and its peripheral.
But this peripheral circuit is different between
R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
(Actually, there are many difference in Generation1 chips)The main difference between Gen1 and Gen2 are
1) register offset, 2) data pathIn order to control Gen1/Gen2 by same method,
this patch adds gen.c.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Renesas R-Car series sound circuit consists of SSI and its peripheral.
But this peripheral circuit is different between
R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2)
(Actually, there are many difference in Generation1 chips)Gen1 series consists of SRU/SSI/ADG, and
Gen2 series consists of SCU/SSIU/SSI/ADG.In order to control these by same method,
these are treated as "mod" on this driver.Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown -
Renesas R-Car series sound circuit consists of SSI and its peripheral.
But this peripheral circuits are different between
R-Car Generation1 (E1/M1/H1) and Generation2 (E2/M2/H2).
(Actually, there are many difference in Generation1 chips)Basically, for the future, Renesas R-Car series will use
Gen2 style sound circuit, but driver should care Gen1 also.
The main differences between Gen1 and Gen2 peripheral
are 1) register offset, 2) data path.This patch adds basic (core) feature for R-Car
series sound driver as prototypeSigned-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown
28 Jun, 2013
1 commit
-
…e/sound into for-next
ASoC: More updates for v3.11
Some more fixes and enhancements, and also a bunch of refectoring for
AC'97 support which enables more than one AC'97 controller driver to be
built in.
27 Jun, 2013
1 commit
-
Currently we can only have a single platform built in with AC'97 support
due to the use of a global variable to provide the bus operations. Fix
this by making that variable a pointer and having the bus drivers set the
operations prior to registering.This is not a particularly good or nice approach but it avoids blocking
multiplatform and a real fix involves fixing the fairly deep problems
with AC'97 support - we should be converting it to a real bus.Acked-by: Arnd Bergmann
Reviewed-by: Stephen Warren
Signed-off-by: Mark Brown
28 May, 2013
1 commit
-
This patch fixup below sparse errors
${LINUX}/sound/soc/sh/fsi.c:1459:9: \
error: incompatible types in conditional expression (different base types)
${LINUX}/sound/soc/sh/fsi.c:1634:25: \
error: incompatible types in conditional expression (different base types)
${LINUX}/sound/soc/sh/fsi.c:1639:17: \
error: incompatible types in conditional expression (different base types)
${LINUX}/sound/soc/sh/fsi.c:2093:9: \
error: incompatible types in conditional expression (different base types)
${LINUX}/sound/soc/sh/fsi.c:2105:9: \
error: incompatible types in conditional expression (different base types)Signed-off-by: Kuninori Morimoto
Signed-off-by: Mark Brown