]> git.baikalelectronics.ru Git - kernel.git/commit
usb: xhci-mtk: use clock bulk to get clocks
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Sat, 10 Apr 2021 05:10:05 +0000 (13:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Apr 2021 14:41:58 +0000 (16:41 +0200)
commitfcd446eeb9496ff6181d69eaa14e6d9370061be8
treef364e6f10c976888830e297bed7a1bd3ab0975b7
parent4db669590bb1ecba7ee0a8c08d41c5cada47206c
usb: xhci-mtk: use clock bulk to get clocks

Use clock bulk helpers to get/enable/disable clocks, meanwhile
make sys_ck optional, then will be easier to handle clocks.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1618031406-15347-4-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c
drivers/usb/host/xhci-mtk.h