diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2021-01-07 16:48:25 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-13 17:36:40 +0000 |
commit | c6892892a95debac8050579b0709214b7b28b514 (patch) | |
tree | 699900b3f77d68c2ed2943f00fbc66952f08562a /sound/soc/soc-compress.c | |
parent | 72366b3c530c763ceda64f82741111e45ea881f9 (diff) | |
download | lwn-c6892892a95debac8050579b0709214b7b28b514.tar.gz lwn-c6892892a95debac8050579b0709214b7b28b514.zip |
spi: bcm2835: Set controller max_speed_hz
Set the struct spi_controller max_speed_hz. This is based on the
reported source clock frequency during probe. The maximum bus clock
is half the source clock (as per the code in bcm2835_spi_transfer_one).
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210107164825.21919-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-compress.c')
0 files changed, 0 insertions, 0 deletions