summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8524.c
diff options
context:
space:
mode:
authorYong Wu <yong.wu@mediatek.com>2021-09-14 19:36:53 +0800
committerKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2021-09-22 08:40:10 +0200
commit0e14917c57f9d8b9b7d4f41813849a29659447b3 (patch)
tree6fc89c602b493ae021cb6ce5a0ca3e13dd8339df /sound/soc/codecs/wm8524.c
parent599e681a31a2dfa7359b8e420a1157ed015f840b (diff)
memory: mtk-smi: Use clk_bulk clock ops
Use clk_bulk interface instead of the orginal one to simplify the code. For SMI larbs: Require apb/smi clocks while gals is optional. For SMI common: Require apb/smi/gals0/gal1 in has_gals case. Otherwise, also only require apb/smi, No optional clk here. About the "has_gals" flag, for smi larbs, the gals clock also may be optional even this platform support it. thus it always use *_bulk_get_optional, then the flag has_gals is unnecessary. Remove it. The smi_common's has_gals still keep it. Also remove clk fail logs since bulk interface already output fail log. Signed-off-by: Yong Wu <yong.wu@mediatek.com> Link: https://lore.kernel.org/r/20210914113703.31466-4-yong.wu@mediatek.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Diffstat (limited to 'sound/soc/codecs/wm8524.c')
0 files changed, 0 insertions, 0 deletions