diff options
| author | Felipe Balbi <[email protected]> | 2012-09-06 12:45:36 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-09-06 16:17:02 +0000 |
| commit | a6b19c333c2f100f32e07d5209cf9f0b4f81b6eb (patch) | |
| tree | 0b37879e1146499c176571b53e4addd094e0ecce /drivers/tty/serial/sccnxp.c | |
| parent | serial: omap: implement set_wake (diff) | |
| download | kernel-a6b19c333c2f100f32e07d5209cf9f0b4f81b6eb.tar.gz kernel-a6b19c333c2f100f32e07d5209cf9f0b4f81b6eb.zip | |
serial: omap: make sure to put() on poll_get_char
if we would reach serial_omap_get_char() while
Data Ready bit isn't set, we would return from
it without kicking our pm timer. This would mean
we would, eventually, have an unbalanced
pm_runtime_get on our device which would prevent
it from ever sleeping again.
Tested-by: Shubhrajyoti D <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions
