]> git.baikalelectronics.ru Git - kernel.git/commitdiff
media: av7110: fix switch indentation
authorHusni Faiz <ahamedhusni73@gmail.com>
Sun, 20 Mar 2022 16:36:17 +0000 (17:36 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:18 +0000 (11:02 +0200)
This patch fixes "switch and case should be at the same indent"
checkpatch error.

Signed-off-by: Husni Faiz <ahamedhusni73@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/av7110/av7110_av.c

index 91f4866c7e59b125c5799c69fcb601fa5f267378..1d42862e96695d56d2f2fd5bb3356699cdf3e77d 100644 (file)
@@ -770,22 +770,22 @@ static void p_to_t(u8 const *buf, long int length, u16 pid, u8 *counter,
        if (length > 3 &&
             buf[0] == 0x00 && buf[1] == 0x00 && buf[2] == 0x01)
                switch (buf[3]) {
-                       case PROG_STREAM_MAP:
-                       case PRIVATE_STREAM2:
-                       case PROG_STREAM_DIR:
-                       case ECM_STREAM     :
-                       case EMM_STREAM     :
-                       case PADDING_STREAM :
-                       case DSM_CC_STREAM  :
-                       case ISO13522_STREAM:
-                       case PRIVATE_STREAM1:
-                       case AUDIO_STREAM_S ... AUDIO_STREAM_E:
-                       case VIDEO_STREAM_S ... VIDEO_STREAM_E:
-                               pes_start = 1;
-                               break;
+               case PROG_STREAM_MAP:
+               case PRIVATE_STREAM2:
+               case PROG_STREAM_DIR:
+               case ECM_STREAM     :
+               case EMM_STREAM     :
+               case PADDING_STREAM :
+               case DSM_CC_STREAM  :
+               case ISO13522_STREAM:
+               case PRIVATE_STREAM1:
+               case AUDIO_STREAM_S ... AUDIO_STREAM_E:
+               case VIDEO_STREAM_S ... VIDEO_STREAM_E:
+                       pes_start = 1;
+                       break;
 
-                       default:
-                               break;
+               default:
+                       break;
                }
 
        while (c < length) {