diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 17:03:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-13 17:03:59 -0400 |
commit | cf2fa66055d718ae13e62451bb546505f63906a2 (patch) | |
tree | e206d3f04e74a34e9aa88d21af6c26eea21d4121 /drivers/media/video/stv680.c | |
parent | 4501a466f28788485604ee42641d7a5fe7258d16 (diff) | |
parent | 57f51dbc45f65f7ee1e8c8f77200bb8000e3e271 (diff) |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (313 commits)
V4L/DVB (9186): Added support for Prof 7300 DVB-S/S2 cards
V4L/DVB (9185): S2API: Ensure we have a reasonable ROLLOFF default
V4L/DVB (9184): cx24116: Change the default SNR units back to percentage by default.
V4L/DVB (9183): S2API: Return error of the caller provides 0 commands.
V4L/DVB (9182): S2API: Added support for DTV_HIERARCHY
V4L/DVB (9181): S2API: Add support fot DTV_GUARD_INTERVAL and DTV_TRANSMISSION_MODE
V4L/DVB (9180): S2API: Added support for DTV_CODE_RATE_HP/LP
V4L/DVB (9179): S2API: frontend.h cleanup
V4L/DVB (9178): cx24116: Add module parameter to return SNR as ESNO.
V4L/DVB (9177): S2API: Change _8PSK / _16APSK to PSK_8 and APSK_16
V4L/DVB (9176): Add support for DvbWorld USB cards with STV0288 demodulator.
V4L/DVB (9175): Remove NULL pointer in stb6000 driver.
V4L/DVB (9174): Allow custom inittab for ST STV0288 demodulator.
V4L/DVB (9173): S2API: Remove the hardcoded command limit during validation
V4L/DVB (9172): S2API: Bugfix related to DVB-S / DVB-S2 tuning for the legacy API.
V4L/DVB (9171): S2API: Stop an OOPS if illegal commands are dumped in S2API.
V4L/DVB (9170): cx24116: Sanity checking to data input via S2API to the cx24116 demod.
V4L/DVB (9169): uvcvideo: Support two new Bison Electronics webcams.
V4L/DVB (9168): Add support for MSI TV@nywhere Plus remote
V4L/DVB: v4l2-dev: remove duplicated #include
...
Diffstat (limited to 'drivers/media/video/stv680.c')
-rw-r--r-- | drivers/media/video/stv680.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/video/stv680.c b/drivers/media/video/stv680.c index dce947439459..9c549d935994 100644 --- a/drivers/media/video/stv680.c +++ b/drivers/media/video/stv680.c | |||
@@ -84,7 +84,8 @@ static unsigned int debug; | |||
84 | #define PDEBUG(level, fmt, args...) \ | 84 | #define PDEBUG(level, fmt, args...) \ |
85 | do { \ | 85 | do { \ |
86 | if (debug >= level) \ | 86 | if (debug >= level) \ |
87 | info("[%s:%d] " fmt, __func__, __LINE__ , ## args); \ | 87 | printk(KERN_INFO KBUILD_MODNAME " [%s:%d] \n" fmt, \ |
88 | __func__, __LINE__ , ## args); \ | ||
88 | } while (0) | 89 | } while (0) |
89 | 90 | ||
90 | 91 | ||
@@ -1086,6 +1087,7 @@ static int stv_open (struct inode *inode, struct file *file) | |||
1086 | int err = 0; | 1087 | int err = 0; |
1087 | 1088 | ||
1088 | /* we are called with the BKL held */ | 1089 | /* we are called with the BKL held */ |
1090 | lock_kernel(); | ||
1089 | stv680->user = 1; | 1091 | stv680->user = 1; |
1090 | err = stv_init (stv680); /* main initialization routine for camera */ | 1092 | err = stv_init (stv680); /* main initialization routine for camera */ |
1091 | 1093 | ||
@@ -1099,6 +1101,7 @@ static int stv_open (struct inode *inode, struct file *file) | |||
1099 | } | 1101 | } |
1100 | if (err) | 1102 | if (err) |
1101 | stv680->user = 0; | 1103 | stv680->user = 0; |
1104 | unlock_kernel(); | ||
1102 | 1105 | ||
1103 | return err; | 1106 | return err; |
1104 | } | 1107 | } |
@@ -1550,7 +1553,8 @@ static int __init usb_stv680_init (void) | |||
1550 | } | 1553 | } |
1551 | PDEBUG (0, "STV(i): usb camera driver version %s registering", DRIVER_VERSION); | 1554 | PDEBUG (0, "STV(i): usb camera driver version %s registering", DRIVER_VERSION); |
1552 | 1555 | ||
1553 | info(DRIVER_DESC " " DRIVER_VERSION); | 1556 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" |
1557 | DRIVER_DESC "\n"); | ||
1554 | return 0; | 1558 | return 0; |
1555 | } | 1559 | } |
1556 | 1560 | ||