]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rockchip: add format and rate constraints on rk3399
authorYu-Hsuan Hsu <yuhsuan@chromium.org>
Tue, 30 Jun 2020 09:16:15 +0000 (17:16 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 1 Jul 2020 13:20:01 +0000 (14:20 +0100)
commit12fb6e5ad0e05112404d21dd1827b8bbfd5b1a84
treea4bf972b649f11cd0bf5623333ae90b64cfdf3fe
parentb9f51eb1fe7a6a28a5bf32088c3a9d6a9d2a1182
ASoC: rockchip: add format and rate constraints on rk3399

S8 and S24 formats does not work on this machine driver so force to use
S16_LE instead.

In addition, add constraint to limit the max value of rate because the
rate higher than 96000(172000, 192000) is not stable either.

Signed-off-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Link: https://lore.kernel.org/r/20200630091615.4020059-1-yuhsuan@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rk3399_gru_sound.c