From nobody Sat Feb 7 21:24:55 2026 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D33120A5C4 for ; Sat, 15 Nov 2025 15:19:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763219988; cv=none; b=YLJTYA3zI5gW2up+krHnnvof6IfUFPLxUXoUq3Kwi5xaWzinezyU9V2Y3445MpERXtz3vPFOhb8bEXUt3gllc3H6NmDshOQg9eyaVpi4S7TrtgtXEiWlAdNb3+kBpMXddzYQ7jXO/pxPxV5Ljp5ZIfxGeGloYMhJNT5sklD5FLA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763219988; c=relaxed/simple; bh=pwhk6KUC9aj1bO1CnKCgI1WgBJAeVfM9l/gwJMBdHX8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hkxZEuDMDC2ltSAROrFrmebaBquNe4g2gtzYrHImaZcmHDNuMn5wnmK5AN3PBKJW8oqAg06OkpA/3CTlT+lJi0rSaVLSQ9dmKjBLU/+0wlk2qq7BL8PClAPa51RjpI63aUqUnQtYlYFYT8r2SzSCTlD1UGV+1vg/xZqdAhS4WHk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BIReUrW8; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BIReUrW8" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-42b32900c8bso1678444f8f.0 for ; Sat, 15 Nov 2025 07:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763219984; x=1763824784; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3fiwCuDBn6bCR36wBmkPpqkRzBcsOHTvfCQX1x7iMNw=; b=BIReUrW8IodDI3BTSLi5eJqsbhosTlujaIMdNZ64kuUzGjaWAR54bloQBQEMmj1C2A ci1QaSHrXAj3GP/iNFgSIKKaqFymSk20ZLrD013aV8L6HOOs+WYcgcsBQLDUG/+6iBpi s8JH6xjZfZEydcbOOrOZrwjmvmStzngHIiOJUGkP1O7qHfUD+UmNNkLNjCyTkURiLr2O LyZT/+AUzM3hVBdsF/XjY2zbOhj46Bk0gonVIcbVETxM0zQhUTrG7TJ+NS7ariXVEgT7 tm/kPXNN81Es1gq/MWkobvluC4DID3vueSJQC6YW8/R6Fy58LcxdMhNnRC4xZLPNLebV BMng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763219984; x=1763824784; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3fiwCuDBn6bCR36wBmkPpqkRzBcsOHTvfCQX1x7iMNw=; b=sZ3ktpj52O8ThKyDRUGaDch4me5EyXNn7emx46tlcGkgtJeGPIhgBHMIaowIyDAl6F fYAej2ToV9ZXAMaVd+gQgDStpMmAbnlTkO8jylh5huZPwzNv+i+m20ZV4dlrAfTGXrkj uWV7O+HMhkhVk/iFHPkedLRkJXOwcBvdIAqxXoqfXKfMQXzPjlUYn+0er3Usj7nd9qqk 9z4fgWN8W4cWSX1L0Zm3gwtIcbvp7fs77cf8AfRhtdsTTqsZiefeVnI4WlIG5smnXqWU 8g28WOytBsAJBukCcoaedmXLucpcqia2FVKOPK9LwWKEKSksC3a5uu2mrdXreNBOiGKN Ghhw== X-Forwarded-Encrypted: i=1; AJvYcCXO6DdfbAZ+3fqwoiLhnxiCxQQI0ViNlpXcMwDG4y0oEwWB5kjGfouvZIGwzs6eWgFh6BKm/dzVvM663wA=@vger.kernel.org X-Gm-Message-State: AOJu0YxoeViAJP77mfByAavypINuK8zL3kT0f0ApJcIODoGnWwBKb0Wh SJV7nh1ffRthE7Lg1A+skqBNm3XWJqGKX2SU0R8+SBu2V3j//IuOMsIb X-Gm-Gg: ASbGncv3hhuaD0WT2pzZ7tVLGZH0pCOFZLHrZ39DfSi1qoV1Xjk8vVrbwzRtkFAlmC8 XlEEoCZRFRyOvUrJWOpLFRTUeUWW04EKz5uDXzpfRYWdZZ1VYWByWgJgbENe6nD3YktmOagDYm1 X4SxEszKh7oaW6Yq9fJp+x5lfiGYcJOvg3jf9cCwOXyzu740WTCrK/KbbYtW/yMoqhCGm53hR1O ZDTLbEAw8uSMZ0+NIVJIhEh0nA7Grr22bIiT9f/JBS3l5+GXC4QxsXHqCeuUsPjyVdMPQP2JqgH HffjpvfHVk4faeq7AxMdLOtiHOnsiZzYOE/Jtps4vVPI1EqXoHsinHEnA3tAYzLNifP8oKWf0CX KSUdgN/8w8hQMXMqUpLMHqNcHCntuzFQ0KsEaBJp91pulmN7B39U8+1jCiGbujY/TL0fR0AoLQ9 2QQGk= X-Google-Smtp-Source: AGHT+IE0WZaMPkQ2gf5Cfbpuz0f0f1hn6sPXTkFITHtyS6NvFcAeITRj13yFAzpQHkMmtxXEeKa0kQ== X-Received: by 2002:a05:6000:2010:b0:42b:3c3e:5d53 with SMTP id ffacd0b85a97d-42b5933aff4mr5549415f8f.16.1763219984236; Sat, 15 Nov 2025 07:19:44 -0800 (PST) Received: from hamdan-pc.. ([39.34.132.139]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53e982d6sm16665382f8f.21.2025.11.15.07.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Nov 2025 07:19:43 -0800 (PST) From: Hamdan Khan To: hansg@kernel.org, mchehab@kernel.org, sakari.ailus@linux.intel.com, andy@kernel.org, gregkh@linuxfoundation.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Hamdan Khan Subject: [PATCH] staging: media: atomisp: Fix typos and comments alignment issue in include/linux/* header files Date: Sat, 15 Nov 2025 20:18:40 +0500 Message-ID: <20251115151840.6366-1-hamdankhan212@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This patch fixes minor comment and code alignment issues in atomisp/include/linux/*.h header files. Some of them were warnings generated by checkpatch.pl (missing * at the start of the line or */ present in the same line) The changes are code-style related only and don't affect the functionality. Signed-off-by: Hamdan Khan --- .../media/atomisp/include/linux/atomisp.h | 30 +++++++++++-------- .../include/linux/atomisp_gmin_platform.h | 7 ++--- .../atomisp/include/linux/atomisp_platform.h | 21 +++++++------ 3 files changed, 32 insertions(+), 26 deletions(-) diff --git a/drivers/staging/media/atomisp/include/linux/atomisp.h b/driver= s/staging/media/atomisp/include/linux/atomisp.h index 3c8fa3f5808d..bce4e5f1bfc7 100644 --- a/drivers/staging/media/atomisp/include/linux/atomisp.h +++ b/drivers/staging/media/atomisp/include/linux/atomisp.h @@ -146,8 +146,7 @@ struct atomisp_3a_config { unsigned int ae_y_coef_r; /* [gain] Weight of R for Y */ unsigned int ae_y_coef_g; /* [gain] Weight of G for Y */ unsigned int ae_y_coef_b; /* [gain] Weight of B for Y */ - unsigned int awb_lg_high_raw; /* [intensity] - AWB level gate high for raw */ + unsigned int awb_lg_high_raw; /* [intensity] AWB level gate high for raw = */ unsigned int awb_lg_low; /* [intensity] AWB level gate low */ unsigned int awb_lg_high; /* [intensity] AWB level gate high */ int af_fir1_coef[7]; /* [factor] AF FIR coefficients of fir1 */ @@ -272,8 +271,10 @@ struct atomisp_wb_config { /* Color Space Conversion settings */ struct atomisp_cc_config { unsigned int fraction_bits; - int matrix[3 * 3]; /* RGB2YUV Color matrix, signed - <13-fraction_bits>. */ + /* RGB2YUV Color matrix, signed + * <13-fraction_bits>. + */ + int matrix[3 * 3]; }; =20 /* De pixel noise configuration */ @@ -425,10 +426,8 @@ struct atomisp_parameters { struct atomisp_3a_config *a3a_config; /* 3A Statistics config */ struct atomisp_xnr_config *xnr_config; /* eXtra Noise Reduction */ struct atomisp_dz_config *dz_config; /* Digital Zoom */ - struct atomisp_cc_config *yuv2rgb_cc_config; /* Color - Correction config */ - struct atomisp_cc_config *rgb2yuv_cc_config; /* Color - Correction config */ + struct atomisp_cc_config *yuv2rgb_cc_config; /* Color Correction config */ + struct atomisp_cc_config *rgb2yuv_cc_config; /* Color Correction config */ struct atomisp_macc_table *macc_table; struct atomisp_gamma_table *gamma_table; struct atomisp_ctc_table *ctc_table; @@ -538,7 +537,8 @@ struct atomisp_ctc_table { =20 /* Parameter for overlay image loading */ struct atomisp_overlay { - /* the frame containing the overlay data The overlay frame width should + /* + * the frame containing the overlay data The overlay frame width should * be the multiples of 2*ISP_VEC_NELEMS. The overlay frame height * should be the multiples of 2. */ @@ -562,10 +562,12 @@ struct atomisp_overlay { /* the blending percent of overlay data for V subpixels */ unsigned char blend_overlay_perc_v; /* the overlay start x pixel position on output frame It should be the - multiples of 2*ISP_VEC_NELEMS. */ + * multiples of 2*ISP_VEC_NELEMS. + */ unsigned int overlay_start_x; /* the overlay start y pixel position on output frame It should be the - multiples of 2. */ + * multiples of 2. + */ unsigned int overlay_start_y; }; =20 @@ -836,8 +838,10 @@ enum atomisp_burst_capture_options { #define V4L2_CID_ATOMISP_LOW_LIGHT \ (V4L2_CID_PRIVATE_BASE + 5) =20 -/* Camera class: - * Exposure, Flash and privacy (indicator) light controls, to be upstreame= d */ +/* + * Camera class: + * Exposure, Flash and privacy (indicator) light controls, to be upstreamed + */ #define V4L2_CID_CAMERA_LASTP1 (V4L2_CID_CAMERA_CLASS_BASE + 1= 024) =20 #define V4L2_CID_RUN_MODE (V4L2_CID_CAMERA_LASTP1 + 20) diff --git a/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platf= orm.h b/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h index 426c5ee4ec18..415b265505c7 100644 --- a/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h +++ b/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h @@ -15,8 +15,7 @@ int atomisp_gmin_remove_subdev(struct v4l2_subdev *sd); int gmin_get_var_int(struct device *dev, bool is_gmin, const char *var, int def); struct camera_sensor_platform_data * -gmin_camera_platform_data( - struct v4l2_subdev *subdev, - enum atomisp_input_format csi_format, - enum atomisp_bayer_order csi_bayer); +gmin_camera_platform_data(struct v4l2_subdev *subdev, + enum atomisp_input_format csi_format, + enum atomisp_bayer_order csi_bayer); #endif diff --git a/drivers/staging/media/atomisp/include/linux/atomisp_platform.h= b/drivers/staging/media/atomisp/include/linux/atomisp_platform.h index 6146555fe9cf..2378a21ee961 100644 --- a/drivers/staging/media/atomisp/include/linux/atomisp_platform.h +++ b/drivers/staging/media/atomisp/include/linux/atomisp_platform.h @@ -72,10 +72,12 @@ enum atomisp_input_format { =20 /* CSI2-MIPI specific format: YUV data. */ - ATOMISP_INPUT_FORMAT_YUV420_8_SHIFT, /* YUV420 8-bit (Chroma Shifted - Pixel Sampling) */ - ATOMISP_INPUT_FORMAT_YUV420_10_SHIFT, /* YUV420 8-bit (Chroma Shifted - Pixel Sampling) */ + ATOMISP_INPUT_FORMAT_YUV420_8_SHIFT, /* YUV420 8-bit (Chroma Shifted + * Pixel Sampling) + */ + ATOMISP_INPUT_FORMAT_YUV420_10_SHIFT, /* YUV420 10-bit (Chroma Shifted + * Pixel Sampling) + */ =20 /* CSI2-MIPI specific format: Generic long packet data */ @@ -105,7 +107,7 @@ struct intel_v4l2_subdev_table { }; =20 /* - * Sensor of external ISP can send multiple streams with different mipi d= ata + * Sensor of external ISP can send multiple streams with different mipi da= ta * type in the same virtual channel. This information needs to come from t= he * sensor or external ISP */ @@ -119,13 +121,14 @@ struct atomisp_input_stream_info { enum atomisp_input_stream_id stream; u8 enable; /* Sensor driver fills ch_id with the id - of the virtual channel. */ + * of the virtual channel. + */ u8 ch_id; /* Tells how many streams in this virtual channel. If 0 ignore rest - * and the input format will be from mipi_info */ + * and the input format will be from mipi_info + */ u8 isys_configs; - /* - * if more isys_configs is more than 0, sensor needs to configure the + /* If isys_configs is more than 0, sensor needs to configure the * input format differently. width and height can be 0. If width and * height is not zero, then the corresponding data needs to be set */ --=20 2.43.0