Skip to content

Commit c075827

Browse files
John Madieubroonie
authored andcommitted
ASoC: rsnd: Fix RSND_SOC_MASK width to single nibble
RSND_SOC_MASK was defined as (0xFF << 4), spanning bits 4-11. This is wider than needed since only nibble B (bits 7:4) is used for SoC identifiers. Narrow it to (0xF << 4) to match the intended single-nibble allocation and prevent overlap with bits 8-11 which will be used by upcoming RZ series flags. No functional change, since the only current user (RSND_SOC_E) fits within a single nibble. Fixes: ba164a4 ("ASoC: rsnd: src: Avoid a potential deadlock") Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://patch.msgid.link/20260525110230.4014435-3-john.madieu.xa@bp.renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent a86fd3c commit c075827

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/renesas/rcar/rsnd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ struct rsnd_priv {
624624
#define RSND_GEN2 (2 << 0)
625625
#define RSND_GEN3 (3 << 0)
626626
#define RSND_GEN4 (4 << 0)
627-
#define RSND_SOC_MASK (0xFF << 4)
627+
#define RSND_SOC_MASK (0xF << 4)
628628
#define RSND_SOC_E (1 << 4) /* E1/E2/E3 */
629629

630630
/*

0 commit comments

Comments
 (0)