mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-10 06:34:17 +08:00
[media] cx25821-medusa-video.c: Move operators
Plase operators in complex expressions at the end of the lines to preserve consistency. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
09c3544030
commit
49faae869f
@ -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;
|
||||
}
|
||||
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user