summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorPavan Savoy2011-04-08 11:57:42 +0200
committerGreg Kroah-Hartman2011-04-23 02:01:09 +0200
commit764b0c4b3256ad4431cb52eaf99c0abe6df0a085 (patch)
treebf1aabc7468e61a4bfaaa4e178baf2ef31a2b57a /drivers/cpufreq
parentkmsg: properly support writev to avoid interleaved printk lines fix (diff)
downloadkernel-qcow2-linux-764b0c4b3256ad4431cb52eaf99c0abe6df0a085.tar.gz
kernel-qcow2-linux-764b0c4b3256ad4431cb52eaf99c0abe6df0a085.tar.xz
kernel-qcow2-linux-764b0c4b3256ad4431cb52eaf99c0abe6df0a085.zip
drivers:misc:ti-st: handle delayed tty receive
When certain technologies shutdown their interface without waiting for the acknowledgement from the chip. The receive_buf from the TTY would be invoked a while after the relevant technology is unregistered. This patch introduces a new flag "is_registered" which maintains the state of protocols BT, FM or GPS and thereby removes the need to clear the protocol data from ST when protocols gets unregistered. This fixes corner cases when HCI RESET is sent down from bluetooth stack and the receive_buf is called from tty after 250ms before which bluetooth would have unregistered from the system. OR - when FM application decides to close down the device without sending a power-off FM command resulting in some RDS data or interrupt data coming in after the driver is unregistered. Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions