drivers:misc: ti-st: firmware download optimization
authorPavan Savoy <pavan_savoy@ti.com>
Fri, 4 Feb 2011 08:23:13 +0000 (02:23 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Feb 2011 20:41:21 +0000 (12:41 -0800)
commitef04d121f030329aae0c2d3ec22beea0c5cbcfd3
tree891fe4bd9a903b553d058ad08d787fbb07d64565
parent6710fcff66ef0330cdc458557271ee86026745d0
drivers:misc: ti-st: firmware download optimization

To fasten the process of firmware download, the chip allows
disabling of the command complete event generation from host.
In these cases, only few very essential commands would have
the command complete events and hence the wait associated with
them.

So now the driver would wait for a command complete event, only
when it comes across a wait event during firmware parsing.
This would also mean we need to skip not just the change baud
rate command but also the wait for it.

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