Skip to content
Commit fd3ab4d6 authored by Phil Elwell's avatar Phil Elwell Committed by Dom Cobley
Browse files

ASoC: dwc: Defer bclk_ratio handling to hw_params

bclk_ratio is only a factor in clock producer mode, and needs to
override the default value of num_channels * sample_size.
Move the bclk_ratio handling into the hw_params method, only latching
the value in set_bclk_ratio, to address both of those matters.

See: https://github.com/raspberrypi/linux/issues/5817



Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 88a326fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment