]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[media] cx25821-audio-upstream.c: Move operators
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>
Sat, 22 Oct 2011 04:43:26 +0000 (01:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 20:35:36 +0000 (18:35 -0200)
Move operator of complex expression to 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>
drivers/media/video/cx25821/cx25821-audio-upstream.c

index 44cb183cf22a70ff3b0e5a58c4f7a77a83b352b6..a221b958c5a73f7729a76fa938fc24bf0498fd6b 100644 (file)
@@ -398,9 +398,9 @@ int cx25821_openfile_audio(struct cx25821_dev *dev,
                                vfs_read_retval =
                                    vfs_read(myfile, mybuf, line_size, &pos);
 
-                               if (vfs_read_retval > 0
-                                   && vfs_read_retval == line_size
-                                   && dev->_audiodata_buf_virt_addr != NULL) {
+                               if (vfs_read_retval > 0 &&
+                                   vfs_read_retval == line_size &&
+                                   dev->_audiodata_buf_virt_addr != NULL) {
                                        memcpy((void *)(dev->
                                                        _audiodata_buf_virt_addr
                                                        + offset / 4), mybuf,