Searched hist:a58943abcb08cfbe6c36648602d796c5834ee8a9 (Results 1 – 2 of 2) sorted by relevance
/linux/sound/soc/codecs/ |
H A D | da7219.h | diff a58943abcb08cfbe6c36648602d796c5834ee8a9 Tue Jan 08 10:13:28 CET 2019 Adam Thomson <Adam.Thomson.Opensource@diasemi.com> ASoC: da7219: Add recalc_rate function to return DAI clock rate
By making MCLK parent of DAI clocks, when querying the rate of the clock the rate returned is now given from the parent clock so gives the MCLK rate rather than 0 as previously returned. This is a bit misleading, and actually there's no major reason why we can't at least return the DAI WCLK rate, as set in HW, so that's what we now do.
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
|
H A D | da7219.c | diff a58943abcb08cfbe6c36648602d796c5834ee8a9 Tue Jan 08 10:13:28 CET 2019 Adam Thomson <Adam.Thomson.Opensource@diasemi.com> ASoC: da7219: Add recalc_rate function to return DAI clock rate
By making MCLK parent of DAI clocks, when querying the rate of the clock the rate returned is now given from the parent clock so gives the MCLK rate rather than 0 as previously returned. This is a bit misleading, and actually there's no major reason why we can't at least return the DAI WCLK rate, as set in HW, so that's what we now do.
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
|