Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31410596 authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman
Browse files

staging/easycap: add first level indentation to easycap_settings.c



Add first level indentation to easycap_sound_settings with astyle -t8
10 lines over 80 characters were left out for further fix

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent cb81fa07
Loading
Loading
Loading
Loading
+560 −540
Original line number Diff line number Diff line
@@ -43,7 +43,8 @@ const struct easycap_standard easycap_standard[] = {
		.mask = 0x00FF & PAL_BGHIN ,
		.v4l2_standard = {
			.index = PAL_BGHIN,
	.id = (V4L2_STD_PAL_B | V4L2_STD_PAL_G | V4L2_STD_PAL_H |
			.id = (V4L2_STD_PAL_B |
				V4L2_STD_PAL_G | V4L2_STD_PAL_H |
				V4L2_STD_PAL_I | V4L2_STD_PAL_N),
			.name = "PAL_BGHIN",
			.frameperiod = {1, 25},
@@ -164,7 +165,8 @@ const struct easycap_standard easycap_standard[] = {
		.mask = 0x8000 | (0x00FF & PAL_BGHIN_SLOW),
		.v4l2_standard = {
			.index = PAL_BGHIN_SLOW,
	.id = (V4L2_STD_PAL_B | V4L2_STD_PAL_G | V4L2_STD_PAL_H |
			.id = (V4L2_STD_PAL_B | V4L2_STD_PAL_G |
				V4L2_STD_PAL_H |
				V4L2_STD_PAL_I | V4L2_STD_PAL_N |
				(((v4l2_std_id)0x01) << 32)),
			.name = "PAL_BGHIN_SLOW",
@@ -238,7 +240,8 @@ const struct easycap_standard easycap_standard[] = {
		.mask = 0x8000 | (0x00FF & NTSC_M_JP_SLOW),
		.v4l2_standard = {
			.index = NTSC_M_JP_SLOW,
	.id = (V4L2_STD_NTSC_M_JP | (((v4l2_std_id)0x01) << 32)),
			.id = (V4L2_STD_NTSC_M_JP |
				(((v4l2_std_id)0x01) << 32)),
			.name = "NTSC_M_JP_SLOW",
			.frameperiod = {1, 6},
			.framelines = 525,
@@ -463,39 +466,56 @@ for (i = 0, n = 0; i < STANDARD_MANY; i++) {
				if (0x1 & mask1)
					continue;
				strcpy(&name2[0], "_AT_720x576");
			width = 720; height = 576; break;
				width = 720;
				height = 576;
				break;
			}
			case AT_704x576: {
				if (0x1 & mask1)
					continue;
				strcpy(&name2[0], "_AT_704x576");
			width = 704; height = 576; break;
				width = 704;
				height = 576;
				break;
			}
			case AT_640x480: {
				strcpy(&name2[0], "_AT_640x480");
			width = 640; height = 480; break;
				width = 640;
				height = 480;
				break;
			}
			case AT_720x480: {
				if (!(0x1 & mask1))
					continue;
				strcpy(&name2[0], "_AT_720x480");
			width = 720; height = 480; break;
				width = 720;
				height = 480;
				break;
			}
			case AT_360x288: {
				if (0x1 & mask1)
					continue;
				strcpy(&name2[0], "_AT_360x288");
			width = 360; height = 288; mask2 = 0x0800; break;
				width = 360;
				height = 288;
				mask2 = 0x0800;
				break;
			}
			case AT_320x240: {
				strcpy(&name2[0], "_AT_320x240");
			width = 320; height = 240; mask2 = 0x0800; break;
				width = 320;
				height = 240;
				mask2 = 0x0800;
				break;
			}
			case AT_360x240: {
				if (!(0x1 & mask1))
					continue;
				strcpy(&name2[0], "_AT_360x240");
			width = 360; height = 240; mask2 = 0x0800; break;
				width = 360;
				height = 240;
				mask2 = 0x0800;
				break;
			}
			default:
				return -2;