]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
serial: 8250-mtk: modify mtk uart power and clock management
authorChangqi Hu <changqi.hu@mediatek.com>
Wed, 26 Feb 2020 08:53:45 +0000 (16:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2020 12:28:30 +0000 (13:28 +0100)
commite32a83c70cf987df8937760fa263296acf84f963
tree5b547b8e70a0029e74c15f39e78b692eaafb65ca
parent5a08a4877aed53ba92ffef6b1e24fb092a490757
serial: 8250-mtk: modify mtk uart power and clock management

MTK uart design no need to control uart clock,
so we just control bus clock in runtime function.
Add uart clock used count to avoid repeatedly switching the clock.

Signed-off-by: Changqi Hu <changqi.hu@mediatek.com>
Link: https://lore.kernel.org/r/1582707225-26815-1-git-send-email-changqi.hu@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_mtk.c