drivers:misc: ti-st: fail-safe on wrong pkt type
commit78bb9697e2c4b62c426f1a2571c293a2e4463adf
authorVijay Badawadagi <bvijay@ti.com>
Wed, 10 Aug 2011 15:18:33 +0000 (10 10:18 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Aug 2011 21:13:33 +0000 (22 14:13 -0700)
treea760fc3b3b4b39ce808434f97fea864c9346c1b4
parent74a4fcf19eed6550651f455db5741fd216b4f004
drivers:misc: ti-st: fail-safe on wrong pkt type

Texas Instrument's shared transport driver interpret incoming data from the
UART based on the various protocol drivers registered to the driver such as
btwilink driver or FM or GPS driver which provide logical channel IDs.

In case of bad-behavior from chip such as HCI Event response for a GPS command
or a HCI Event (h/w error event) for a FM response & In case of bad-behavior
from UART driver such as dropping data bytes a fail-safe is required to avoid
kernel panic.

Signed-off-by: Pavan Savoy <pavan_savoy@ti.com>
Signed-off-by: Vijay Badawadagi <bvijay@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/ti-st/st_core.c