]> git.baikalelectronics.ru Git - kernel.git/commit
drivers:misc: ti-st: flush UART upon fw failure
authorPavan Savoy <pavan_savoy@ti.com>
Thu, 15 Dec 2011 16:38:21 +0000 (10:38 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2012 23:21:04 +0000 (15:21 -0800)
commitccfe1b30007d7bb952bb2bc73e0351617b4bc7ee
treed1814fccd84509eb495b9e5a9e38a85c13828c96
parent5fea08c4565862afc4673de7f26b79e850e082be
drivers:misc: ti-st: flush UART upon fw failure

Upon failure to read firmware version from chip or upon failure in responses
to firmware download the UART needs to be flushed of its existing buffers so
that the UIM can restart UART properly.

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