Skip to contentSkip to conversation

Patch "ASoC: rcar: avoid SSI_MODEx settings for SSI8" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Dec 12, 2017

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ASoC: rcar: avoid SSI_MODEx settings for SSI8

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
asoc-rcar-avoid-ssi_modex-settings-for-ssi8.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Tue Dec 12 13:26:17 CET 2017

From: Kuninori Morimoto <[email protected]>
Date: Fri, 3 Mar 2017 04:25:09 +0000
Subject: ASoC: rcar: avoid SSI_MODEx settings for SSI8

From: Kuninori Morimoto <[email protected]>

[ Upstream commit 4b30eebfc35c67771b5f58d9274d3e321b72d7a8 ]

SSI8 is is sharing pin with SSI7, and nothing to do for SSI_MODEx. It is special pin and it needs special settings whole system, but we can't confirm it, because we never have SSI8 available board.

This patch fixup SSI_MODEx settings error for SSI8 on connection test, but should be confirmed behavior on real board in the future.

---
 sound/soc/sh/rcar/ssiu.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
sound/soc/sh/rcar/ssiu.c +5 -1
@@ -44,7 +44,11 @@ static int rsnd_ssiu_init(struct rsnd_mo
 	mask1 = (1 << 4) | (1 << 20);	/* mask sync bit */
 	mask2 = (1 << 4);		/* mask sync bit */
 	val1  = val2  = 0;
-	if (rsnd_ssi_is_pin_sharing(io)) {
+	if (id == 8) {
+		/*
+		 * SSI8 pin is sharing with SSI7, nothing to do.
+		 */
+	} else if (rsnd_ssi_is_pin_sharing(io)) {
 		int shift = -1;
 
 		switch (id) {

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/asoc-rcar-avoid-ssi_modex-settings-for-ssi8.patch