25 Jan, 2012
1 commit
-
This changes the max length for the usb seven segment delcom device to 8
from 6. Delcom has both 6 and 8 variants and having 8 works fine with
devices which are only 6.Signed-off-by: Harrison Metzger
Signed-off-by: Stuart Pook
Cc: stable
Signed-off-by: Greg Kroah-Hartman
19 Nov, 2011
1 commit
-
This converts the drivers in drivers/usb/* to use the
module_usb_driver() macro which makes the code smaller and a bit
simpler.Added bonus is that it removes some unneeded kernel log messages about
drivers loading and/or unloading.Cc: Simon Arlott
Cc: Duncan Sands
Cc: Matthieu CASTET
Cc: Stanislaw Gruszka
Cc: Pete Zaitcev
Cc: Oliver Neukum
Cc: Juergen Stuber
Cc: Cesar Miquel
Cc: Matthew Dharm
Cc: Matthew Wilcox
Cc: Sarah Sharp
Cc: Kuninori Morimoto
Cc: Felipe Balbi
Cc: Lucas De Marchi
Cc: Michael Hund
Cc: Zack Parsons
Cc: Melchior FRANZ
Cc: Tomoki Sekiyama
Cc: Dan Carpenter
Signed-off-by: Greg Kroah-Hartman
16 Nov, 2010
1 commit
-
They should not be writable by any user.
Reported-by: Linus Torvalds
Cc: Harrison Metzger
Cc: stable
Signed-off-by: Greg Kroah-Hartman
23 Apr, 2010
1 commit
-
This patch fixes a bug with the usbsevseg driver which assumed that USB
autosuspend will always be used.Signed-off-by: Harrison Metzger
Signed-off-by: Greg Kroah-Hartman
03 Mar, 2010
1 commit
-
The id_table field of the struct usb_device_id is constant in
so it is worth to make the initialization data also constant.The semantic match that finds this kind of pattern is as follows:
(http://coccinelle.lip6.fr/)//
@r@
disable decl_init,const_decl_init;
identifier I1, I2, x;
@@
struct I1 {
...
const struct I2 *x;
...
};
@s@
identifier r.I1, y;
identifier r.x, E;
@@
struct I1 y = {
.x = E,
};
@c@
identifier r.I2;
identifier s.E;
@@
const struct I2 E[] = ... ;
@depends on !c@
identifier r.I2;
identifier s.E;
@@
+ const
struct I2 E[] = ...;
//Signed-off-by: Németh Márton
Cc: Julia Lawall
Cc: cocci@diku.dk
Signed-off-by: Greg Kroah-Hartman
23 Sep, 2009
1 commit
-
This patch adds to the usbsevseg driver:
- suspend/resume support
- reset_resume support
- autosuspend using the display's power state to determine idlenessSigned-off-by: Oliver Neukum
Signed-off-by: Harrison Metzger
18 Oct, 2008
1 commit
-
Added basic support for a Delcom USB 7-segment LED Display
Signed-off by: Harrison Metzger
Signed-off-by: Greg Kroah-Hartman