Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 7bb7a0dd authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

USB: io_ti: check firmware version before updating

commit 0827a9ff

 upstream.

If we can't read the firmware for a device from the disk, and yet the
device already has a valid firmware image in it, we don't want to
replace the firmware with something invalid.  So check the version
number to be less than the current one to verify this is the correct
thing to do.


Reported-by: default avatarChris Beauchamp <chris@chillibean.tv>
Tested-by: default avatarChris Beauchamp <chris@chillibean.tv>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 38cebc0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment