]> git.baikalelectronics.ru Git - uboot.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)
commitbb8b6ac62f71edd6431c3fd0cb501a5572db972d
treefdaa3b7048f4d3cb24595d39b796a6101719dbd7
parent9042dae54627c63cf04c948128db550c930d6ec4
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