Skip to content

Commit 40e8774

Browse files
Sugar Zhangrkhuangtao
authored andcommitted
ASoC: rockchip: multi_dais: fixup master/slave format
Change-Id: I680035d37144d87bf7f594c4dd0e9222860929ef Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
1 parent 101dc3f commit 40e8774

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/rockchip/rockchip_multi_dais.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ static void mdais_parse_daifmt(struct device_node *node, struct rk_dai *dais,
266266
break;
267267
}
268268

269-
switch ((cmst[i] << 4) + fmst[i]) {
269+
switch ((!cmst[i] << 4) + !fmst[i]) {
270270
case 0x11:
271271
format |= SND_SOC_DAIFMT_CBM_CFM;
272272
break;

0 commit comments

Comments
 (0)