Skip to content

Commit b104ddf

Browse files
Jianhui Wangrkhuangtao
authored andcommitted
ASoC: rockchip: cdndp: add support for 176.4k & 192k
Change-Id: I5881829fe29729784d1f16d918f932062664b961 Signed-off-by: Jianhui Wang <[email protected]>
1 parent 5fb2a5c commit b104ddf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sound/soc/rockchip/rockchip_cdndp.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ static int rockchip_sound_cdndp_hw_params(struct snd_pcm_substream *substream,
4949
case 88200:
5050
mclk = 11289600;
5151
break;
52+
case 176400:
53+
mclk = 11289600 * 2;
54+
break;
55+
case 192000:
56+
mclk = 12288000 * 2;
57+
break;
5258
default:
5359
return -EINVAL;
5460
}

0 commit comments

Comments
 (0)