mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
ASoC: rsnd: Get correct SCU ID
Current rsnd driver is assuming that SCU/SRU ID is same as SSIU/SSI ID, because Gen1 can't select it. But, Gen2 can select it. The SCU/SRU/SSIU/SSI pair depends on the platform. This patch get correct SCU ID from platform info. To keep compatible, it still assuming SCU ID = SSI ID if platform doesn't have info Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
78f13d0c5a
commit
389933d9f6
5 changed files with 72 additions and 20 deletions
|
|
@ -70,6 +70,7 @@ struct rsnd_scu_platform_info {
|
|||
|
||||
struct rsnd_dai_path_info {
|
||||
struct rsnd_ssi_platform_info *ssi;
|
||||
struct rsnd_scu_platform_info *scu;
|
||||
};
|
||||
|
||||
struct rsnd_dai_platform_info {
|
||||
|
|
|
|||
Loading…
Reference in a new issue