USB: musb: sysfs mode updates
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 24 Nov 2008 11:06:47 +0000 (13:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Jan 2009 17:59:58 +0000 (09:59 -0800)
commit96a274d1da950a96cb31ac1bed044e049d770980
tree6069c17f492e3bfbc75d59b3d6d47a81bf7ae7d6
parentaa69a8093ff985873cb44fe1157bd6db29a20fe4
USB: musb: sysfs mode updates

Fix three omissions in the "mode" sysfs attribute support:
  (a) inability to report errors;
  (b) no DaVinci support ... just report an error;
  (c) for omap2430, accepting unsupportable values

The 2430 stuff is still odd....

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/davinci.c
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_core.h
drivers/usb/musb/omap2430.c
drivers/usb/musb/tusb6010.c