OSDN Git Service

ASoC: amd: acp: Refactor i2s clocks programming sequence
authorVenkata Prasad Potturu <venkataprasad.potturu@amd.com>
Mon, 9 Jan 2023 13:21:02 +0000 (18:51 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 11 Jan 2023 18:28:52 +0000 (18:28 +0000)
commitca9d237994db63dca68f2b04e257a4738847deee
treecd2e00c06c4292b0ae1922b8148f3f4bbe8b450f
parentaf830fc44a2d273b163e76b17f51b128ce694481
ASoC: amd: acp: Refactor i2s clocks programming sequence

Refactor i2s clock values based on hw_params and use srate and
bclk_ratio variables in clock enable API instead hard-code values.

Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://lore.kernel.org/r/20230109132104.1259479-4-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-mach-common.c