audio: modify lanemask for tdmout
authorShuai Li <shuai.li@amlogic.com>
Fri, 11 Aug 2017 11:09:44 +0000 (19:09 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Mon, 14 Aug 2017 07:29:22 +0000 (00:29 -0700)
commit430f796afbef590aa89c2f3577e62f7c44d4bd77
tree1902cf61b890ff4800ba12ec21cc43808c6bf251
parent5772a3ba4fe27f205a04c744ca686a204beb5a6b
audio: modify lanemask for tdmout

PD#149114: S420 V03 speaker no sound when playing 2-ch wav

S400 & S420 modify the lineout and speaker out on TDMC dataIO2.
This commit make the speaker output available
by the output lanemask setting:

    "dai-tdm-lane-slot-mask-out = <0 0 1 0>;"

It masks the third lane as data output when playing two channel
PCM waves.

Change-Id: Id1627c06f24f3fb57cc645247ca8183f197656db
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
sound/soc/amlogic/auge/tdm.c