Commit Graph
3 Commits
Author SHA1 Message Date
Constantine Shulyupin e8cebb9cde USB: usb-skeleton.c: fix compilation error and restored kref_put on fail in skel_open
Fixing compilaton error.
Incrementing usage counter only on successful execution of skel_open.
Removing redundant locking

Some last changes in function skel_open and finally commit
52a7499 Revert "USB: usb-skeleton.c: fix open/disconnect race"
introduced a bug in function skel_open, which this patch fixes.

Changes since v2:
- refactoring
- Removing redundant mutex synchronization.

Changes since v1:
- Fixed accordingly feedback of Oliver Neukum [email protected]: also need to drop the lock.

Signed-off-by: Constantine Shulyupin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2012-10-24 14:40:50 -07:00
Constantine Shulyupin 0e05751972 ARM: davinci: usb: remove CONFIG_USB_MUSB_HOST etc
Remove usage of CONFIG_USB_MUSB_OTG, CONFIG_USB_MUSB_PERIPHERAL
and CONFIG_USB_MUSB_HOST in arch/arm/mach-davinci/usb.c since these
are not used anymore and set mode configuration by default to
MUSB_OTG.

Signed-off-by: Constantine Shulyupin <[email protected]>
[[email protected]: Tested on DM6446-EVM]
Acked-by: Manjunathappa, Prakash <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
2012-10-24 16:37:17 +05:30
Constantine Shulyupin 8d64c32b9b staging: ccg: rename ccg init and exit functions to conventional names
Previous names of init and exit functions "init" and "cleanup" are
unconventional and are not friendly for source navigation with tags.
New names "ccg_init" and "ccg_exit" are conveninal and source navigation
friendly.

Signed-off-by: Constantine Shulyupin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2012-10-22 15:50:07 -07:00