]> git.baikalelectronics.ru Git - uboot.git/commit
serial: sh: Use the clock framework to obtain clock config
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 21 Jul 2017 21:19:18 +0000 (23:19 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 2 Aug 2017 19:26:25 +0000 (04:26 +0900)
commit225b152e3026212dca1938b752767a74581f091b
tree971cd374626c2799cc12c91c2aa6114ce8c16584
parenta55e3ba3f7b43425dc330fde8d0d1b40196779e6
serial: sh: Use the clock framework to obtain clock config

Since we now have clock driver on the RCar Gen3 , obtain the clock
configuration using the clock framework functions. In case this
fails, fall back to the original code for pulling the clock config
directly out of OF.

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