commit | 28eb4274e7ec3ddba6711e3d13e374046b3c2230 | [log] [tgz] |
---|---|---|
author | Huang Shijie <b32955@freescale.com> | Tue Jun 04 09:59:33 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 06 13:05:38 2013 -0700 |
tree | c72d2e58524ba3d6bc065cdc4caccce085c3ef11 | |
parent | e943f58ea84a80cc88dfceb6a5ed788d0ba24a1e [diff] |
serial: imx: enable the clocks only when the uart is used Current code opens the clocks when the uart driver is probed. This will wastes some power if several uarts are enabled, but not really used. So close these clocks for uart, and enable the clocks only when the uart is used. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>