From: Felipe Balbi Date: Thu, 6 Sep 2012 12:45:36 +0000 (+0300) Subject: serial: omap: make sure to put() on poll_get_char X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6b19c333c2f100f32e07d5209cf9f0b4f81b6eb;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed