Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp697326pxf; Thu, 1 Apr 2021 11:09:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqMkc2xoHJicKtBVb/QJMUADFQTusHkePoxMdw1cJA+ya7AsdcEtD/2BA0qq24ABNrb2hk X-Received: by 2002:aa7:dd98:: with SMTP id g24mr11312419edv.75.1617300571996; Thu, 01 Apr 2021 11:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617300571; cv=none; d=google.com; s=arc-20160816; b=N50SGlWIHu0uhEwkpZYfLL+qlRBKNEBo3r6jMrhbRqgr3KgD+O4yheILnrY93JxFem VF0TN/dTdBf/DRTYjVWgizFB9IqLwznZQp7/X0hrL0QGUCjQwi/7MYMJ3ZqtzPOowjLQ gPwf+sIjJAOAwWdiG8aj91IE4GdQD8VsMzOse4z5xnYvo2ImeIyf7YMe6IpwBi3faJpx rdou66zVf2uENJLV9JlJ/G0wwDiJgnd5VnClZHsKQT5xmgrDofYyvT3NBOo2GBflAsd+ XjuYqfM9cA9Vy5QVhakfvq336Yt2wTNDHyifOLlTUKyFacFxG9hqguFyKyBogDxNXaev u9/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=6e8KU9fk/1P7iY76hALRoVzDDpKZGRE6STiYdEDt5Z8=; b=eZPczFpz5PDdnt9W5Av9GjfVYA14zLc/iFpbZp5UDbQ+49iVqwBlFwAD1mdPErF+gQ nlR4IUKTQmuIKrS4A+KjV++K7awcUMnTPN6Mtqk5cqNkl8WBSmia6YydpmOk621uXOR6 a857oJcUCD+0nx/RYhdwq8bp9ww0RMqFA4uDu6ouFHE3xIjyQWGQotd3A6od91+FTK/P 1TSDaqU3n3DD7ASzNjhtc+SWtwRT2jDQPlttK8UmnAbbQoAO9dumlTbIfDO6Ca2CRfXM Mnr6yb72iF6POw7PE9D/RI3dE0dpnEHYDWRLhGFXEGwJNVBvr1Pr9Me1Q8piM22L//+m bRYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tkZ3WeOn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m24si4554676edp.422.2021.04.01.11.09.08; Thu, 01 Apr 2021 11:09:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tkZ3WeOn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237161AbhDASId (ORCPT + 99 others); Thu, 1 Apr 2021 14:08:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235665AbhDARxQ (ORCPT ); Thu, 1 Apr 2021 13:53:16 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62860C00F7D8; Thu, 1 Apr 2021 08:07:43 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id c8so2150059wrq.11; Thu, 01 Apr 2021 08:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=6e8KU9fk/1P7iY76hALRoVzDDpKZGRE6STiYdEDt5Z8=; b=tkZ3WeOnNZ/rYuTknOHdEl8iGi2/VAZhTwJWoyFipF7BHeyFfnWA2HDqWIzy+75TS3 lzTGaBvba9eO0rcyi5pSePT0dj6mk79RfK4W1b5Lan7a1PuMVmvxchI8GBtoTAsiPuyt wZqrJEg3GvudG7OqfJebmoYOrbcmaD4Z2AQiAai//EI5V0wPIHvOGa+Z7ys2WFUyQM4X r5Kxjz38AG2xmHAmsDyDMJxXaliI7yVLNIUumcGATgynjj6nGBRD/SaUKchtYhRCtxoh ByMWTcPB1o1HAlnZlyZOGH2E+2ifR9nyVdT0Z2+HVrffjuXrOCOnu/iM5KiIq8Ttktpa I4qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6e8KU9fk/1P7iY76hALRoVzDDpKZGRE6STiYdEDt5Z8=; b=Pz+Y1/sW66YjCDuX6ULVC5cnjcbfN6wHe2WzUCqNuNdmdeYhlvXxcbqXLJmtGQvKqX AtaDR/vhyyPkESUnybMnPiduVllRIGbu+Or/AHiapJ7jKagJlmFCGE+eq1lP1jeWQROY XRDd+/hSmXvLr6upS3M8XFUiqXSOPQSlJl67t1i/VdPYnaVtTeeYC2MEzyg5UIFGmoiJ V6AinXaxlGTDkPX0puE5sJeBV2/TtHpTVYpmg47fEny5DCEZjqU93tEK5B+ZI4l3DgSi pDqIXTwbaJH5yfsswOi6T5fH3d/YyaG8vx4zd1knFCGNbQhOiOCd8RuvlKd7Z7QvGfm+ QFjQ== X-Gm-Message-State: AOAM531QCZG/AbIg89M1GtnvyEloCNl7eDN0O4YkMiVwKDZoT4DzZ2px y0oYD1FNe7LJr6pKj/VJA38= X-Received: by 2002:adf:b355:: with SMTP id k21mr10360675wrd.156.1617289662171; Thu, 01 Apr 2021 08:07:42 -0700 (PDT) Received: from bcarvalho-Ubuntu.lan ([2001:818:de85:7e00:a182:b5f0:9f7c:c891]) by smtp.gmail.com with ESMTPSA id n8sm9710108wrm.70.2021.04.01.08.07.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 08:07:41 -0700 (PDT) From: Beatriz Martins de Carvalho To: laurent.pinchart@ideasonboard.com, mchehab@kernel.org, gregkh@linuxfoundation.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com Subject: [PATCH 1/2] staging: media: omap4iss: Ending line with argument Date: Thu, 1 Apr 2021 16:07:38 +0100 Message-Id: <441d27060ff6477d0ad418f41e194b96373c1f7f.1617287509.git.martinsdecarvalhobeatriz@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove checkpatch check "CHECK: Lines should not end with a '('" with argument present in next line and reorganize characters so the lines are under 100 columns Signed-off-by: Beatriz Martins de Carvalho --- drivers/staging/media/omap4iss/iss.c | 46 +++++++++++++--------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/drivers/staging/media/omap4iss/iss.c b/drivers/staging/media/omap4iss/iss.c index dae9073e7d3c..e8f724dbf810 100644 --- a/drivers/staging/media/omap4iss/iss.c +++ b/drivers/staging/media/omap4iss/iss.c @@ -559,9 +559,10 @@ static int iss_reset(struct iss_device *iss) iss_reg_set(iss, OMAP4_ISS_MEM_TOP, ISS_HL_SYSCONFIG, ISS_HL_SYSCONFIG_SOFTRESET); - timeout = iss_poll_condition_timeout( - !(iss_reg_read(iss, OMAP4_ISS_MEM_TOP, ISS_HL_SYSCONFIG) & - ISS_HL_SYSCONFIG_SOFTRESET), 1000, 10, 100); + timeout = iss_poll_condition_timeout(!(iss_reg_read(iss, + OMAP4_ISS_MEM_TOP, ISS_HL_SYSCONFIG) + & ISS_HL_SYSCONFIG_SOFTRESET), + 1000, 10, 100); if (timeout) { dev_err(iss->dev, "ISS reset timeout\n"); return -ETIMEDOUT; @@ -583,9 +584,10 @@ static int iss_isp_reset(struct iss_device *iss) iss_reg_set(iss, OMAP4_ISS_MEM_ISP_SYS1, ISP5_CTRL, ISP5_CTRL_MSTANDBY); - timeout = iss_poll_condition_timeout( - iss_reg_read(iss, OMAP4_ISS_MEM_ISP_SYS1, ISP5_CTRL) & - ISP5_CTRL_MSTANDBY_WAIT, 1000000, 1000, 1500); + timeout = iss_poll_condition_timeout(iss_reg_read(iss, + OMAP4_ISS_MEM_ISP_SYS1, ISP5_CTRL) + & ISP5_CTRL_MSTANDBY_WAIT, 1000000, + 1000, 1500); if (timeout) { dev_err(iss->dev, "ISP5 standby timeout\n"); return -ETIMEDOUT; @@ -595,9 +597,10 @@ static int iss_isp_reset(struct iss_device *iss) iss_reg_set(iss, OMAP4_ISS_MEM_ISP_SYS1, ISP5_SYSCONFIG, ISP5_SYSCONFIG_SOFTRESET); - timeout = iss_poll_condition_timeout( - !(iss_reg_read(iss, OMAP4_ISS_MEM_ISP_SYS1, ISP5_SYSCONFIG) & - ISP5_SYSCONFIG_SOFTRESET), 1000000, 1000, 1500); + timeout = iss_poll_condition_timeout(!(iss_reg_read(iss, OMAP4_ISS_MEM_ISP_SYS1, + ISP5_SYSCONFIG) & + ISP5_SYSCONFIG_SOFTRESET), 1000000, + 1000, 1500); if (timeout) { dev_err(iss->dev, "ISP5 reset timeout\n"); return -ETIMEDOUT; @@ -1104,33 +1107,28 @@ static int iss_create_links(struct iss_device *iss) } /* Connect the submodules. */ - ret = media_create_pad_link( - &iss->csi2a.subdev.entity, CSI2_PAD_SOURCE, - &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SINK, 0); + ret = media_create_pad_link(&iss->csi2a.subdev.entity, CSI2_PAD_SOURCE, + &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SINK, 0); if (ret < 0) return ret; - ret = media_create_pad_link( - &iss->csi2b.subdev.entity, CSI2_PAD_SOURCE, - &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SINK, 0); + ret = media_create_pad_link(&iss->csi2b.subdev.entity, CSI2_PAD_SOURCE, + &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SINK, 0); if (ret < 0) return ret; - ret = media_create_pad_link( - &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SOURCE_VP, - &iss->resizer.subdev.entity, RESIZER_PAD_SINK, 0); + ret = media_create_pad_link(&iss->ipipeif.subdev.entity, IPIPEIF_PAD_SOURCE_VP, + &iss->resizer.subdev.entity, RESIZER_PAD_SINK, 0); if (ret < 0) return ret; - ret = media_create_pad_link( - &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SOURCE_VP, - &iss->ipipe.subdev.entity, IPIPE_PAD_SINK, 0); + ret = media_create_pad_link(&iss->ipipeif.subdev.entity, IPIPEIF_PAD_SOURCE_VP, + &iss->ipipe.subdev.entity, IPIPE_PAD_SINK, 0); if (ret < 0) return ret; - ret = media_create_pad_link( - &iss->ipipe.subdev.entity, IPIPE_PAD_SOURCE_VP, - &iss->resizer.subdev.entity, RESIZER_PAD_SINK, 0); + ret = media_create_pad_link(&iss->ipipe.subdev.entity, IPIPE_PAD_SOURCE_VP, + &iss->resizer.subdev.entity, RESIZER_PAD_SINK, 0); if (ret < 0) return ret; -- 2.25.1