misc: aspeed-lpc: Request and enable LPC clock
authorJoel Stanley <joel@jms.id.au>
Mon, 19 Feb 2018 07:24:21 +0000 (17:54 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Mar 2018 17:20:51 +0000 (18:20 +0100)
commit99aad9e3a9d28c1b998cb157c85e17db957e8ae5
tree6aa240eaeb73681b1adb33ba48d50ae4cf8117d0
parenteb105eace9521063c2b8786e09879043ec643d26
misc: aspeed-lpc: Request and enable LPC clock

The LPC device needs to ensure it's clock is enabled before it can do
anything.

In the past the clock was enabled and left running by u-boot, however
Linux now has an upstream clock driver that disables unused clocks.

Tested-by: Lei YU <mine260309@gmail.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/aspeed-lpc-ctrl.c