[PATCH 0/5] USB: io_ti: Cleanup download_fw and related functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Peter E. Berger" <pberger@xxxxxxxxxxx>

While working on a previous patchset for this driver [1] we were hampered
by the fact that download_fw() is very long and its return paths are so
complicated that we were compelled to the put the request_firmware() call
in edge_startup(), when it much more naturally belongs to download_fw().

The primary purpose of this patchset is to move the bulk of the
download_fw() code into two helper functions, to cleanup the return
paths and to migrate the request_firmware() call into download_fw().

I welcome any comments or suggestions.

Thanks.
     --Peter

[1]: http://marc.info/?l=linux-usb&m=143832572328107&w=2

Peter E. Berger (5):
  USB: io_ti: Remove obsolete dev argument from build_i2c_fw_hdr
  USB: io_ti: use serial->interface for messages in download_fw
  USB: io_ti: Move download and boot mode code out of download_fw
  USB: io_ti: Remove leading tabs in do_download_mode
  USB: io_ti: Move request_firmware from edge_startup to download_fw

 drivers/usb/serial/io_ti.c | 438 +++++++++++++++++++++++++--------------------
 1 file changed, 242 insertions(+), 196 deletions(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux