Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3899206pxb; Mon, 1 Nov 2021 23:56:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWva3nb0OTJiy21e74HsgPwVxdqdDNwvPWzHLG5GQRzUIBrIwxq8Lis0RAmm196a/2UL0M X-Received: by 2002:a50:998c:: with SMTP id m12mr47785747edb.19.1635836200042; Mon, 01 Nov 2021 23:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635836200; cv=none; d=google.com; s=arc-20160816; b=ovmf+gNbUrApJgpYJgRZAo/hNutWzg5KYNyPfWOxo8c4sPAXy8i1Qk8BuTAuk9UIjI JOU8vFHm/PHgMXhq5EcuvwpzLTElJThAUeaIsIvXg7g92IxWa1j4nstHyBOk8MX6JZlx 6RIrcUX6W0faq8EONeoQFEb5R2/9J2ZbMC7cy5ux0Iw0ti1t52xUegU9E3ZJx+SidaTZ ccTKP+wuGx0322H/Ge2zAUxLLmvfr/Y6BmfSSMtSJ9fal8HsZwQuPz2j1UQbPSLGoFiR SIOUmVJACoZn9d3On/w9v2xASQJtAIjQhShl/hhdcLGZGRCHCk/vhNpUC25pfSPx3cZl SZHw== 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:subject:cc:to:from:date :dkim-signature; bh=gHaG9j1SBoB8LewH2yMdkeQ1+azTi/43kU5XfZh6hRQ=; b=HdoiAZ7NsXYZU/xlk7c9huWjzM98VRiLqp96YY/8eg1k42sxCXrWIyWNyZ31SzA5y7 MQndZNot+2wUz+3PXjOzodjyxXoC/NAH5RgON6apx/+UjqQRhyNmzKGWskEDgIbpW8Qn mYXr7WiCKCjILhIKDc32oJqDdi3tC4eXQHelPpbBxN+jkqQKAm/QNHVKRwhdNDJ8geUD xM+95TMKrZnFZoM48ESWG3md3SxazxGlMQlH82CXRU0d4Z0y/zMDvZC2lN8sbi0sQtw6 56bC9i7VMZwdQr3oPJtaJ2pZjVodj5wysoyafbUcKu2b56KTXApqlX5Gg+BfEFUYHmKN nsSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rgc9UY96; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x10si24745372edi.484.2021.11.01.23.56.16; Mon, 01 Nov 2021 23:56:40 -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=@kernel.org header.s=k20201202 header.b=Rgc9UY96; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229803AbhKBG46 (ORCPT + 99 others); Tue, 2 Nov 2021 02:56:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:53226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbhKBG45 (ORCPT ); Tue, 2 Nov 2021 02:56:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 57B1060F02; Tue, 2 Nov 2021 06:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635836062; bh=MXDbfFaaDJHpu2fQW7mE38hxDHiU6lviz6OHVDynVVg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Rgc9UY96yt4SchEXJwDqNCsWe6HAlJLeXc7oLAxhK2XnjbxQKKWz6KlAoiShLudn5 nZXRXhksi1KlWR40yp3/hTtd/CA9cxCNq983fYoGOemnDMttMYvta/PGPVMZv6bGny WdAqbSRHmPStwOnOQagHvCML/jVn0UDT2TjdyrOX+CkeSpgdYEFQ7hq2jdTTeMKn7A SCP8FWA/m8mKDP9YGoS/4KiMb/A4vZ739q4+E7xjONKw5RVm8ItwTtpA1rT7rlgDFX 66dRbXrjW7ASvM3aSZFOBjIIA/1d0kSAdq7Bq5OIbZbfxzj146KXpIu3jXA4xH+KqZ Y0bg6rBcuUWRg== Date: Tue, 2 Nov 2021 06:54:15 +0000 From: Mauro Carvalho Chehab To: Andy Shevchenko Cc: Linuxarm , mauro.chehab@huawei.com, Aditya Srivastava , Alex Dewar , Aline Santana Cordeiro , Andy Shevchenko , Arnd Bergmann , Baokun Li , Greg Kroah-Hartman , Hans Verkuil , Kaixu Xia , Mauro Carvalho Chehab , Sakari Ailus , Tomi Valkeinen , Tsuchiya Yuto , Yang Li , Linux Kernel Mailing List , Linux Media Mailing List , linux-staging@lists.linux.dev Subject: Re: [PATCH 1/2] media: atomisp: better describe get_frame_info issues Message-ID: <20211102065415.4850a80b@sal.lan> In-Reply-To: References: <750e50daa3ed65a7eb060cb0eb5cfc60dc9386be.1635497370.git.mchehab+huawei@kernel.org> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 29 Oct 2021 12:01:57 +0300 Andy Shevchenko escreveu: > > + switch (type) { > > + case ATOMISP_CSS_VF_FRAME: > > + *info = p_info.vf_output_info[0]; > > + dev_dbg(isp->dev, "getting vf frame info.\n"); > > + break; > > + case ATOMISP_CSS_SECOND_VF_FRAME: > > + *info = p_info.vf_output_info[1]; > > + dev_dbg(isp->dev, "getting second vf frame info.\n"); > > + break; > > + case ATOMISP_CSS_OUTPUT_FRAME: > > + *info = p_info.output_info[0]; > > + dev_dbg(isp->dev, "getting main frame info.\n"); > > + break; > > + case ATOMISP_CSS_SECOND_OUTPUT_FRAME: > > + *info = p_info.output_info[1]; > > + dev_dbg(isp->dev, "getting second main frame info.\n"); > > + break; > > + case ATOMISP_CSS_RAW_FRAME: > > + *info = p_info.raw_output_info; > > + dev_dbg(isp->dev, "getting raw frame info.\n"); > > Can we get break; here followed by default case? Surely. I'll do such change on a separate patch. Regards, Mauro