]> err.no Git - linux-2.6/commit
USB: cypress_m8: Feature buffer fixes
authorMike Isely <isely@isely.net>
Mon, 11 Feb 2008 02:23:14 +0000 (20:23 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:36 +0000 (21:16 -0700)
commit93075544d6c6e9aaa14c44edb6eb3f71144bdeeb
tree2727ca11d0740e79d523c7e367010194b70e19cd
parent9544e833f977d1d3e102a070718d613cd234ce8d
USB: cypress_m8: Feature buffer fixes

cypress_m8: Feature buffer fixes

From: Mike Isely <isely@pobox.com>

Don't hardcode the feature buffer size; use sizeof() instead.  That
way we can easily specify the size in a single spot.  Speaking of the
feature buffer size, the Cypress app note (and further testing with a
DeLorme Earthmate) suggests that this size should be 5 not 8 bytes.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cypress_m8.c