misc: ti-st: Create rx_list before all channels are registered
authorShobek Sam Attupurath <sattupurath@nvidia.com>
Thu, 24 Oct 2013 08:37:03 +0000 (13:37 +0530)
committerHarry Hong <hhong@nvidia.com>
Thu, 31 Oct 2013 10:48:53 +0000 (03:48 -0700)
commit499198985c9fff8be7bbd2ff1ddbfc520f4c0932
treeaae0f8d889df3e7416ce2eccbf6d1c3b4cf278f3
parent33146a743ac1ded4d684aabd0f8372796f32cd63
misc: ti-st: Create rx_list before all channels are registered

rx_list should be created before the channels are registered else
when the chip sends data after registering channel 4 we may
encounter a crash.

Bug 1390113

Change-Id: Ieb1e0bbeda7845a156ee6636f233c79df36ba7db
Signed-off-by: Shobek Sam Attupurath <sattupurath@nvidia.com>
Reviewed-on: http://git-master/r/304774
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
drivers/misc/ti-st/tty_hci.c