Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285271
b: refs/heads/master
c: 49faae8
h: refs/heads/master
i:
  285269: 1e940a5
  285267: 4c5b033
  285263: dfea8db
v: v3
  • Loading branch information
Leonid V. Fedorenchik authored and Mauro Carvalho Chehab committed Nov 24, 2011
1 parent c4ad4aa commit d5f1926
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 09c35440308138059e23a9a8e04f053094fb81a8
refs/heads/master: 49faae869fb1647b8201859602e11bed18230702
8 changes: 4 additions & 4 deletions trunk/drivers/media/video/cx25821/cx25821-medusa-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,8 @@ int medusa_set_brightness(struct cx25821_dev *dev, int brightness, int decoder)
u32 val = 0, tmp = 0;

mutex_lock(&dev->lock);
if ((brightness > VIDEO_PROCAMP_MAX)
|| (brightness < VIDEO_PROCAMP_MIN)) {
if ((brightness > VIDEO_PROCAMP_MAX) ||
(brightness < VIDEO_PROCAMP_MIN)) {
mutex_unlock(&dev->lock);
return -1;
}
Expand Down Expand Up @@ -743,8 +743,8 @@ int medusa_set_saturation(struct cx25821_dev *dev, int saturation, int decoder)

mutex_lock(&dev->lock);

if ((saturation > VIDEO_PROCAMP_MAX)
|| (saturation < VIDEO_PROCAMP_MIN)) {
if ((saturation > VIDEO_PROCAMP_MAX) ||
(saturation < VIDEO_PROCAMP_MIN)) {
mutex_unlock(&dev->lock);
return -1;
}
Expand Down

0 comments on commit d5f1926

Please sign in to comment.