]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: refactor TRB_NEC_GET_FW case into function
authorXenia Ragiadakou <burzalodowa@gmail.com>
Mon, 9 Sep 2013 10:29:52 +0000 (13:29 +0300)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 16 Oct 2013 19:24:30 +0000 (12:24 -0700)
commit7c8c703d5d6d6e9e43015a6bf599f2c89c79814f
treec3eda05d55277dca5c95fc6584469dae7dd396fe
parent3616952b951bdea685560d00a2df4de6dd73bdd7
xhci: refactor TRB_NEC_GET_FW case into function

The function that handles xHCI command completion is much too long and
there is need to be broken up into individual functions for each command
completion to improve code readablity.
This patch refactors the code in TRB_NEC_GET_FW switch case in
handle_cmd_completion() into a fuction named xhci_handle_cmd_nec_get_fw().

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-ring.c