Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2034968rbb; Tue, 27 Feb 2024 08:40:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXgvH2ysCfFKnr0hNIvalU4/lbO6/3hBOkpVvuRfigL7oiPC+LENUwWy+zaa5F12objvpeM7Q/NT5X4OiUE2uf7nrCXfDERbnOC3OElEw== X-Google-Smtp-Source: AGHT+IFcOCHQ2J3Ab6qzHLGWQeHXzan5i0i2AQLNCGDTxOibTVcTucNtF0lldtUeEAbiwsgNtyp6 X-Received: by 2002:a17:902:c401:b0:1dc:51b5:f9b3 with SMTP id k1-20020a170902c40100b001dc51b5f9b3mr11507396plk.67.1709052037149; Tue, 27 Feb 2024 08:40:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709052037; cv=pass; d=google.com; s=arc-20160816; b=kZAwltDSSOgn7+5RNwDxpExYC2FKe6Nc4M1BhJ9JYkRtV15hcibr6B60LnwIdZV/Dj i09H5ngOD8YfEP6a6h/L46I5ylBA7lPzEOGCjuVEiXCrYKamQiuQMKX7mPh9unkuyHMD x1xK3M9Xomx6/dJ5l/xjzXhOQlPMmPIgYM4ZJrXA+8ooyklTjREKG9Idh2QMnq2uXSry ZfPAZO/KSHlyCs0y6UlOS4Ii9Ep37mJiA4xA+BZ5xVXgZiwB1R68XzbIovJSYSA/9q5L 1Ci/YTz3c6076WsITvH8Mwey4+JQ4ArQvEcEnLpIYoGgN1YiZ6Fx98fWj4wXMAKZWRdo TLCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=+DNzd2Y9Nsj2d3D65u6Z6DGyaZKDh+IjqLbOArWV8kY=; fh=/j7VQffnI195wr6QXuleL1KVo8rcQRtwBH2PQC6iyuM=; b=ivDbsZlMb0lyEl3ykylvX7jzUHVpS4fCnmSBNtyWJ23ssAFtqVIsaGk4RqnUAQI7j0 dh0Ya7ES8w1qhE6nkCAu/NKRKhjTeGuQ2Ywd3a6zavZXZiXOyC3txmXdEmxK48Ey5YLK StytM4qNuo2sd1H+JC5ZkOzm4+0fCRgHonEnFv8eSrc4NyfYS+T+Lk5W7SUysuDBGicd imguQehhnMwrqX2w1rg76giHqMYWI6vDdEEFbLCm+9Dm38iPEsjEj00GpYg73UfJryIh eIAp1piEmdO005KiaoRkp2SttezS6+CymlnVUpwESJUSAU+EV9hV696E0Q+/MZCaAE7F uy2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Faq9Y1gF; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d14-20020a170902654e00b001dc832a7265si1590403pln.555.2024.02.27.08.40.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 08:40:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Faq9Y1gF; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-83605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9EE31290AB3 for ; Tue, 27 Feb 2024 16:31:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 564742110E; Tue, 27 Feb 2024 16:30:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Faq9Y1gF" Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (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 ADCB01F947; Tue, 27 Feb 2024 16:30:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709051450; cv=none; b=fh7WmszSHWCjw6qnPkOPFklVePfMMM5JhYqiuTXrT/KjCqjNzVwRkC93eiNUNXqNg1pHGUYppy4GESX+qGv81jwexhtKzwYV7QNNOnNJ3+0IPRRSdTJF10u94JvQUOWdhgxBtkF0tnTjGCbCPe0WP4kDaqVegtoiAEIBk6Mb4Mo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709051450; c=relaxed/simple; bh=7UWytEjpvnuf7HyU7fycSpNmZ+Pkvdxbg2+CIsFkOyc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=uy3905XSANCKDQh2eJNVJ7n5RB2gzdObnPb9EFyfBy/ezFHL9j+mLtOsaZxASSXPkFXtvQkZormahr+6h3o2YM3vjpVkYWvqvB4lSM6+YqTymDGAfXcYva7bSleYNpX3L4GgBUH/vcM4XBTd7V9Iaq48XU73m4GXC9zINP6eUeY= 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=Faq9Y1gF; arc=none smtp.client-ip=209.85.208.171 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 Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2d21cdbc85bso70362111fa.2; Tue, 27 Feb 2024 08:30:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709051447; x=1709656247; 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=+DNzd2Y9Nsj2d3D65u6Z6DGyaZKDh+IjqLbOArWV8kY=; b=Faq9Y1gFbR/wYpyoLPW5qvPHjrgaMObNHhSgcgt6WaPaPmulylZL9q+KKp2cmCelRo RzFYdXKOb4WhFNmw4su4/l7SOg+1BF9gJCcFp4N3N/XJf4vAna8Q7WuXjFfdN4RjfWKO BxYwqepOtzxL0XdAxS4i81/ycuaE/ss7ofCaMK7EonJjAgsFUixib6rYmArm2cNUmV1l f7uDr7op4kz9yiRb8p7ItfNgs5NdsK2p/x/zcYQStDtH0Eff5cRCGq9+DdrmhI4Ju2QE 7AnOh4lebDOlQoVGxETKr3dkFPSNyeY9pu4egqhnH9HVA8vAz85fKxIL4Cx1/MpeFRZ1 CSHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709051447; x=1709656247; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+DNzd2Y9Nsj2d3D65u6Z6DGyaZKDh+IjqLbOArWV8kY=; b=FusT7Yrq2y/igUHX2zTBZAliD7vURfPp3/bo2onO3BbaeTooslOVMZ7ApvMgYaO4Qc SZS3W3yZpNc/9ghe0ewGu0dVjnILXxtu6z35ddG0RUKspEnGnQfN+yLrgLFfnu+eDHvM 7VgHiIDaypY10xwSkWOJQ4HhFf8MX6+HF1hsGcpJv3C5e1raWvs3P8DufaUjXC+Ce3gC 4DsdKsnxP6X2YvSAh5QRnBgZT3W0K7Rz7fnCRZVW0w7t6suD7bT/hEf7RH15iILtleFN HnukE9i5WYLOOX2eAmgnOtMM3yK+3a5a5fl0hGOxfTLB6NrFemxrw9zza65trcuScH4o 2QaA== X-Forwarded-Encrypted: i=1; AJvYcCXzB0Vo7rKP4EAejiRx9PGmi6v5H4DwkBUCNQGgH4ZuPuxG2pyBfKPQ5ERsCejqx/W9K765LaXkl1LQQ8Lc4qAFy8u2XJJuumn/hG5wi4i4Qd5mlNWrAKPuHeam/GMqmpIBkle/x97beZs= X-Gm-Message-State: AOJu0YxiMrO8ioKReC8zIAdFpgwysU6DnpoSky7JZ+n0pyxTjx1fUSPl CcemUM7zgEd08oqXpOGPY74FM4JGVP74C5IcR+h8sPpSkU86zBdl X-Received: by 2002:a05:651c:333:b0:2d2:3f13:52e7 with SMTP id b19-20020a05651c033300b002d23f1352e7mr5940035ljp.12.1709051446802; Tue, 27 Feb 2024 08:30:46 -0800 (PST) Received: from localhost.localdomain (c83-255-24-248.bredband.tele2.se. [83.255.24.248]) by smtp.googlemail.com with ESMTPSA id n11-20020a2e904b000000b002d0b6eafa8csm1300712ljg.39.2024.02.27.08.30.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 08:30:46 -0800 (PST) From: Jonathan Bergh To: hdegoede@redhat.com Cc: mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Bergh Subject: [PATCH 1/3] staging: media: atomisp: Fix various multiline block comment formatting instances Date: Tue, 27 Feb 2024 17:30:41 +0100 Message-Id: <20240227163043.112162-1-bergh.jonathan@gmail.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch makes the following fixes: * Reformats a number of multiline block comments to ensure * and */ align correctly Signed-off-by: Jonathan Bergh --- .../staging/media/atomisp/pci/atomisp_v4l2.c | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c index 547e1444ad97..77809e88da83 100644 --- a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c +++ b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c @@ -78,13 +78,15 @@ static char firmware_name[256]; module_param_string(firmware_name, firmware_name, sizeof(firmware_name), 0); MODULE_PARM_DESC(firmware_name, "Firmware file name. Allows overriding the default firmware name."); -/*set to 16x16 since this is the amount of lines and pixels the sensor -exports extra. If these are kept at the 10x8 that they were on, in yuv -downscaling modes incorrect resolutions where requested to the sensor -driver with strange outcomes as a result. The proper way tot do this -would be to have a list of tables the specify the sensor res, mipi rec, -output res, and isp output res. however since we do not have this yet, -the chosen solution is the next best thing. */ +/* + * Set to 16x16 since this is the amount of lines and pixels the sensor + * exports extra. If these are kept at the 10x8 that they were on, in yuv + * downscaling modes incorrect resolutions where requested to the sensor + * driver with strange outcomes as a result. The proper way tot do this + * would be to have a list of tables the specify the sensor res, mipi rec, + * output res, and isp output res. however since we do not have this yet, + * the chosen solution is the next best thing. + */ int pad_w = 16; module_param(pad_w, int, 0644); MODULE_PARM_DESC(pad_w, "extra data for ISP processing"); @@ -507,12 +509,12 @@ static int atomisp_mrfld_pre_power_down(struct atomisp_device *isp) } done: /* - * MRFLD WORKAROUND: - * before powering off IUNIT, clear the pending interrupts - * and disable the interrupt. driver should avoid writing 0 - * to IIR. It could block subsequent interrupt messages. - * HW sighting:4568410. - */ + * MRFLD WORKAROUND: + * before powering off IUNIT, clear the pending interrupts + * and disable the interrupt. driver should avoid writing 0 + * to IIR. It could block subsequent interrupt messages. + * HW sighting:4568410. + */ pci_read_config_dword(pdev, PCI_INTERRUPT_CTRL, &irq); irq &= ~BIT(INTR_IER); pci_write_config_dword(pdev, PCI_INTERRUPT_CTRL, irq); @@ -525,9 +527,9 @@ static int atomisp_mrfld_pre_power_down(struct atomisp_device *isp) } /* -* WA for DDR DVFS enable/disable -* By default, ISP will force DDR DVFS 1600MHz before disable DVFS -*/ + * WA for DDR DVFS enable/disable + * By default, ISP will force DDR DVFS 1600MHz before disable DVFS + */ static void punit_ddr_dvfs_enable(bool enable) { int reg; -- 2.40.1