Skip to content
Unverified Commit ac28ec07 authored by Nilkanth Ahirrao's avatar Nilkanth Ahirrao Committed by Mark Brown
Browse files

ASoC: rsnd: fixup mod ID calculation in rsnd_ctu_probe_



commit c16015f3 ("ASoC: rsnd: add .get_id/.get_id_sub")
introduces rsnd_ctu_id which calcualates and gives
the main Device id of the CTU by dividing the id by 4.
rsnd_mod_id uses this interface to get the CTU main
Device id. But this commit forgets to revert the main
Device id calcution previously done in rsnd_ctu_probe_
which also divides the id by 4. This path corrects the
same to get the correct main Device id.

The issue is observered when rsnd_ctu_probe_ is done for CTU1

Fixes: c16015f3 ("ASoC: rsnd: add .get_id/.get_id_sub")

Signed-off-by: default avatarNilkanth Ahirrao <anilkanth@jp.adit-jv.com>
Signed-off-by: default avatarSuresh Udipi <sudipi@jp.adit-jv.com>
Signed-off-by: default avatarJiada Wang <jiada_wang@mentor.com>
Acked-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 501e94b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment