[PATCH] atmel_serial: keep clock off when it's not needed - Kernel

This is a discussion on [PATCH] atmel_serial: keep clock off when it's not needed - Kernel ; From: David Brownell
The atmel_serial driver is mismanaging its clock by leaving it on
at all times ... the whole point of clock management is to leave
it off unless it's actively needed, which conserves power!!
Signed-off-by: David Brownell
[haavard.skinnemoen@atmel.com: ...

[PATCH] atmel_serial: keep clock off when it's not needed

The atmel_serial driver is mismanaging its clock by leaving it on
at all times ... the whole point of clock management is to leave
it off unless it's actively needed, which conserves power!!

Signed-off-by: David Brownell
[haavard.skinnemoen@atmel.com: Make sure clock is enabled early for console]
Signed-off-by: Haavard Skinnemoen
---
Although the kernel doesn't actually hang without my fix, it does
discard quite a lot of early console output.