]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: sh: Enable clock if available
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 15 Sep 2017 19:11:27 +0000 (21:11 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Sun, 24 Sep 2017 05:12:07 +0000 (14:12 +0900)
commit791c174d58f6fbea2b055b5851ab33d8f73b2c93
treefdaa3b7048f4d3cb24595d39b796a6101719dbd7
parentbddb44e94a51d387ff8fc307d21a5f76bd3093e9
serial: sh: Enable clock if available

If the clock framework provides the driver with valid clock,
enable them, otherwise the SCIF might not work if the clock
are not enabled prior to the driver probe.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/serial/serial_sh.c