Skip to content
Commit 7c76b7db authored by Liam Beguin's avatar Liam Beguin Committed by Greg Kroah-Hartman
Browse files

iio: afe: rescale: expose scale processing function

[ Upstream commit bc437f75

 ]

In preparation for the addition of kunit tests, expose the logic
responsible for combining channel scales.

Signed-off-by: default avatarLiam Beguin <liambeguin@gmail.com>
Reviewed-by: default avatarPeter Rosin <peda@axentia.se>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220213025739.2561834-2-liambeguin@gmail.com
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Stable-dep-of: bee44839

 ("iio: afe: rescale: Accept only offset channels")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c6067150
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment