From: Mark Brown <broonie@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org
Subject: Applied "ASoC: rsnd: add missing ADINR::CHNUM on DVC/SRC/SSIU" to the asoc tree
Date: Tue, 01 Dec 2015 23:00:03 +0000 [thread overview]
Message-ID: <E1a3ttz-0007DA-8f@debutante> (raw)
In-Reply-To: <87a8pvub5l.wl%kuninori.morimoto.gx@renesas.com>
The patch
ASoC: rsnd: add missing ADINR::CHNUM on DVC/SRC/SSIU
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
>From c45f7263a805e1c5d8579569884d32141330589f Mon Sep 17 00:00:00 2001
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Date: Mon, 30 Nov 2015 08:49:33 +0000
Subject: [PATCH] ASoC: rsnd: add missing ADINR::CHNUM on DVC/SRC/SSIU
DVC/SRC/SSIU needs ADINR::CHNUM settings too. This patch adds
these missing value.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/sh/rcar/dvc.c | 6 +++++-
sound/soc/sh/rcar/src.c | 3 ++-
sound/soc/sh/rcar/ssiu.c | 3 ++-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/sound/soc/sh/rcar/dvc.c b/sound/soc/sh/rcar/dvc.c
index 0f61e1344431..c622dec24362 100644
--- a/sound/soc/sh/rcar/dvc.c
+++ b/sound/soc/sh/rcar/dvc.c
@@ -97,11 +97,15 @@ static void rsnd_dvc_volume_init(struct rsnd_dai_stream *io,
struct rsnd_mod *mod)
{
struct rsnd_dvc *dvc = rsnd_mod_to_dvc(mod);
+ u32 adinr = 0;
u32 dvucr = 0;
u32 vrctr = 0;
u32 vrpdr = 0;
u32 vrdbr = 0;
+ adinr = rsnd_get_adinr_bit(mod, io) |
+ rsnd_get_adinr_chan(mod, io);
+
/* Enable Digital Volume, Zero Cross Mute Mode */
dvucr |= 0x101;
@@ -124,7 +128,7 @@ static void rsnd_dvc_volume_init(struct rsnd_dai_stream *io,
rsnd_mod_write(mod, DVC_DVUIR, 1);
/* General Information */
- rsnd_mod_write(mod, DVC_ADINR, rsnd_get_adinr_bit(mod, io));
+ rsnd_mod_write(mod, DVC_ADINR, adinr);
rsnd_mod_write(mod, DVC_DVUCR, dvucr);
/* Volume Ramp Parameter */
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c
index 6d93c4ed8275..30cad79deab0 100644
--- a/sound/soc/sh/rcar/src.c
+++ b/sound/soc/sh/rcar/src.c
@@ -199,7 +199,8 @@ static void rsnd_src_set_convert_rate(struct rsnd_dai_stream *io,
/*
* SRC_ADINR
*/
- adinr = rsnd_get_adinr_bit(mod, io);
+ adinr = rsnd_get_adinr_bit(mod, io) |
+ rsnd_get_adinr_chan(mod, io);
/*
* SRC_IFSCR / SRC_IFSVR
diff --git a/sound/soc/sh/rcar/ssiu.c b/sound/soc/sh/rcar/ssiu.c
index bc245047e904..6120b0a66958 100644
--- a/sound/soc/sh/rcar/ssiu.c
+++ b/sound/soc/sh/rcar/ssiu.c
@@ -82,7 +82,8 @@ static int rsnd_ssiu_init_gen2(struct rsnd_mod *mod,
u32 val = rsnd_get_dalign(mod, io);
rsnd_mod_write(mod, SSI_BUSIF_ADINR,
- rsnd_get_adinr_bit(mod, io));
+ rsnd_get_adinr_bit(mod, io) |
+ rsnd_get_adinr_chan(mod, io));
rsnd_mod_write(mod, SSI_BUSIF_MODE, 1);
rsnd_mod_write(mod, SSI_BUSIF_DALIGN, val);
}
--
2.6.2
next prev parent reply other threads:[~2015-12-01 23:00 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-30 8:48 [PATCH 0/14] ASoC: rsnd: TDM Extend Mode support Kuninori Morimoto
2015-11-30 8:49 ` [PATCH 01/14] ASoC: rsnd: don't use normal *mod in adg.c Kuninori Morimoto
2015-12-01 23:00 ` Applied "ASoC: rsnd: don't use normal *mod in adg.c" to the asoc tree Mark Brown
2015-11-30 8:49 ` [PATCH 02/14] ASoC: rsnd: add missing ADINR::CHNUM on DVC/SRC/SSIU Kuninori Morimoto
2015-12-01 23:00 ` Mark Brown [this message]
2015-11-30 8:50 ` [PATCH 03/14] ASoC: rsnd: add missing SRC_O_BUSIF_MODE register Kuninori Morimoto
2015-12-01 23:00 ` Applied "ASoC: rsnd: add missing SRC_O_BUSIF_MODE register" to the asoc tree Mark Brown
2015-11-30 8:50 ` [PATCH 04/14] ASoC: rsnd: src: rename rsnd_src_soft_reset() to rsnd_src_activation() Kuninori Morimoto
2015-12-01 23:00 ` Applied "ASoC: rsnd: src: rename rsnd_src_soft_reset() to rsnd_src_activation()" to the asoc tree Mark Brown
2015-11-30 8:50 ` [PATCH 05/14] ASoC: rsnd: mix: rename rsnd_mix_soft_reset() to rsnd_mix_activation() Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: mix: rename rsnd_mix_soft_reset() to rsnd_mix_activation()" to the asoc tree Mark Brown
2015-11-30 8:51 ` [PATCH 06/14] ASoC: rsnd: dvc: rename rsnd_dvc_soft_reset() to rsnd_dvc_activation() Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: dvc: rename rsnd_dvc_soft_reset() to rsnd_dvc_activation()" to the asoc tree Mark Brown
2015-11-30 8:51 ` [PATCH 07/14] ASoC: rsnd: src: add rsnd_src_halt() Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: src: add rsnd_src_halt()" to the asoc tree Mark Brown
2015-11-30 8:51 ` [PATCH 08/14] ASoC: rsnd: mix: add rsnd_mix_halt() Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: mix: add rsnd_mix_halt()" to the asoc tree Mark Brown
2015-11-30 8:52 ` [PATCH 09/14] ASoC: rsnd: dvc: add rsnd_dvc_halt() Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: dvc: add rsnd_dvc_halt()" to the asoc tree Mark Brown
2015-11-30 8:52 ` [PATCH 10/14] ASoC: rsnd: add rsnd_ssi_config_init() Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: add rsnd_ssi_config_init()" to the asoc tree Mark Brown
2015-11-30 8:53 ` [PATCH 11/14] ASoC: rsnd: set SSIWSR setting on rsnd_ssi_config_init() Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: set SSIWSR setting on rsnd_ssi_config_init()" to the asoc tree Mark Brown
2015-11-30 8:53 ` [PATCH 12/14] ASoC: rsnd: ssi enables non-stereo sound Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: ssi enables non-stereo sound" to the asoc tree Mark Brown
2015-11-30 8:53 ` [PATCH 13/14] ASoC: rsnd: dvc enables non-stereo sound Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: dvc enables non-stereo sound" to the asoc tree Mark Brown
2015-11-30 8:54 ` [PATCH 14/14] ASoC: rsnd: add TDM Extend Mode support Kuninori Morimoto
2015-12-01 22:59 ` Applied "ASoC: rsnd: add TDM Extend Mode support" to the asoc tree Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1a3ttz-0007DA-8f@debutante \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=kuninori.morimoto.gx@renesas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox