ASoC: cs43130: Fix numerator/denominator mixup
authorPhil Elwell <phil@raspberrypi.com>
Wed, 21 Jun 2023 15:32:29 +0000 (16:32 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 21 Jun 2023 16:54:29 +0000 (17:54 +0100)
commita9e7c964cea4fb1541cc81a11d1b2fd135f4cf38
tree7bf11c8b3194dffbe1de034a8fa2da2970a8874a
parent2222214749a9969e09454b9ba7febfdfb09c1c8d
ASoC: cs43130: Fix numerator/denominator mixup

In converting to using the standard u16_fract type, commit [1] made the
obvious mistake and failed to take account of the difference in
numerator and denominator ordering, breaking all uses of the cs43130
codec.

Fix it.

[1] commit e14bd35ef446 ("ASoC: cs43130: Re-use generic struct u16_fract")

Fixes: e14bd35ef446 ("ASoC: cs43130: Re-use generic struct u16_fract")
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230621153229.1944132-1-phil@raspberrypi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs43130.h