diff options
author | Dmitry Baryshkov <[email protected]> | 2022-06-23 15:04:08 +0300 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2022-09-13 21:58:34 -0500 |
commit | 7026af10aa9196fd08d51eeea81af3de6440c72b (patch) | |
tree | ba5263c56f77d30e5c1ad80f6bdf9433b108e6d5 /drivers/platform/surface/aggregator/controller.c | |
parent | e38fc8f036a0b2908721aee9b75864acb8445be4 (diff) |
clk: qcom: lcc-msm8960: use macros to implement mi2s clocks
Split and extend existing CLK_AIF_OSR_DIV macro to implement mi2s
clocks. This simplifies the driver and removes extra code duplication.
The clock mi2s_div_clk used .enable_reg/.enable_bit, however these
fields are not used with by the clk_regmap_div_ops, thus they are
silently dropped. Clock enablement is handled in the mi2s_bit_div_clk
clock.
Signed-off-by: Dmitry Baryshkov <[email protected]>
Tested-by: David Heidelberg <[email protected]> # tested on Nexus 7 (2013)
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions