Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271736
b: refs/heads/master
c: 70a4299
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Mauro Carvalho Chehab committed Sep 4, 2011
1 parent c45e130 commit 1ad319d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bdfe91f411bd05392952efc1afdce8bda1923517
refs/heads/master: 70a429954799bbf71f87abf12aaa35bf52cd9913
8 changes: 5 additions & 3 deletions trunk/drivers/media/video/gspca/finepix.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#define MODULE_NAME "finepix"

#include "gspca.h"
Expand Down Expand Up @@ -182,7 +184,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
/* Init the device */
ret = command(gspca_dev, 0);
if (ret < 0) {
err("init failed %d", ret);
pr_err("init failed %d\n", ret);
return ret;
}

Expand All @@ -194,14 +196,14 @@ static int sd_start(struct gspca_dev *gspca_dev)
FPIX_MAX_TRANSFER, &len,
FPIX_TIMEOUT);
if (ret < 0) {
err("usb_bulk_msg failed %d", ret);
pr_err("usb_bulk_msg failed %d\n", ret);
return ret;
}

/* Request a frame, but don't read it */
ret = command(gspca_dev, 1);
if (ret < 0) {
err("frame request failed %d", ret);
pr_err("frame request failed %d\n", ret);
return ret;
}

Expand Down

0 comments on commit 1ad319d

Please sign in to comment.