Re: [PATCH v7 3/4] USB: io_ti: Add firmware image sanity checks

2015-07-22 Thread Peter Berger
On Wed, 2015-07-15 at 11:36 +0200, Johan Hovold wrote: On Sun, Jun 28, 2015 at 01:28:20PM -0500, Peter E. Berger wrote: From: Peter E. Berger pber...@brimson.com Do what we can to verify that the driver's firmware image is valid (before attempting to download it to the Edgeport) by

Re: [PATCH v7 3/4] USB: io_ti: Add firmware image sanity checks

2015-07-15 Thread Johan Hovold
On Sun, Jun 28, 2015 at 01:28:20PM -0500, Peter E. Berger wrote: From: Peter E. Berger pber...@brimson.com Do what we can to verify that the driver's firmware image is valid (before attempting to download it to the Edgeport) by adding a new function, check_fw_sanity(), and a call to it in in

[PATCH v7 3/4] USB: io_ti: Add firmware image sanity checks

2015-06-28 Thread Peter E. Berger
From: Peter E. Berger pber...@brimson.com Do what we can to verify that the driver's firmware image is valid (before attempting to download it to the Edgeport) by adding a new function, check_fw_sanity(), and a call to it in in download_fw(). Also add an fw == NULL check in edge_startup(). Note: