ASoC: msm: qdsp6v2: Instantiate mi2s dai driver
Current mi2s dai design is inherited from legacy platform which only
has one MI2S interface. When multiple MI2S interfaces are exercised,
same soc dai driver structure is shared among MI2S DAI drivers. As
assignment of MI2S serial data lines are assigned based on platform
data, it was found that succeeding mi2s dai driver overwrites
playback/capture channel min and channel max fields of soc dai driver
structure which are meant for prior mi2s dai driver. Update the
design to dynamically instantiate mi2s dai driver structure instead
of sharing same statically defined structure.
Change-Id: I8de377c471d4a0372072e2acc6ab13bae24df996
Signed-off-by:
Kuirong Wang <kuirongw@codeaurora.org>
Loading
Please register or sign in to comment