Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1433065ybk; Thu, 21 May 2020 06:50:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbGJrcMOFON+9yWmxUU43QcG0t4nW+JuK8GwcD5YJUB0GLk5F/I+pMpMIQbcEzWpDJlNgE X-Received: by 2002:a17:906:31d7:: with SMTP id f23mr3561266ejf.59.1590069032035; Thu, 21 May 2020 06:50:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590069032; cv=none; d=google.com; s=arc-20160816; b=FVzBY0XeWyNl92SH0zVM+T3cZOxCDvGnjHG9/O/TFR7g4XzWgcNCVhkUEDePMq87OF 2D1fGQvzzWYc0VtIiB3Az1TQhz+eE6tLKBrqDkaVFHFE9Jli7BVQsZQlQUYDmZW1pruh Eiuwtv95YJeV/e2jz7RZdwpBWPCxUNrkEJoLMR1LTPpsX6NGfD3KmfCLHKLSDVVxGCGB F1hzLSVmrj+H4W3IE6QOJn6hC2hSDkcjFlwUvGOlkekmvWCL0dyyHijO6KqB3sHLrZv8 I03r+HC63Cx7+r1s68JAdWgwub8089tiJBZ2LtS7p6z7yqTPO6k5C4sKNLj/9hivXM9v 4YoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=WigAm6R3JnrkS0bWmUO3ZB1tWo9KDMYSlwhtkqHAIps=; b=xXSltx24qKSK2vvFzMoQH3l8owDAVRaF62ACcso2flw8gzIqvALCr8bX5p0NShFDXR 75HZFBwaOWhXRqwVtQvXCYWOCagho3CCUDGxnPtslK9FNvBcRJCG1wk+f3U/3U4sBDD2 qpua6FK3AEGV/bUr82XhZDlQ94qjVZO4nS4UW8koU11TMBs8GJR7upJgw4hCL9g1Z6kr HxX3uePsZUn/z6UswQI63H0N+yOmJ024su+d33xMsAARa5oYYwvRYS9qKK0qttFqeJs3 +jKlbfzgid21ZWRklvyMOHpfYJK1FB7t/PXLC9yGZ/1s1JLxq3G/JXft/n94YUzU0BhR pa2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=jyfLBevZ; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e18si3492910eja.513.2020.05.21.06.50.07; Thu, 21 May 2020 06:50:32 -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=@chromium.org header.s=google header.b=jyfLBevZ; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729633AbgEUNrf (ORCPT + 99 others); Thu, 21 May 2020 09:47:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729354AbgEUNrf (ORCPT ); Thu, 21 May 2020 09:47:35 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB1ADC061A0E for ; Thu, 21 May 2020 06:47:34 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id u1so5630611wmn.3 for ; Thu, 21 May 2020 06:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=WigAm6R3JnrkS0bWmUO3ZB1tWo9KDMYSlwhtkqHAIps=; b=jyfLBevZAiI3qkkBfstEElorOWNvUcbZe8+NYJX9vsFk4WpXks+gPfEuN04Ws3MixW 1mt8vxFWFKxT/FwXh70xQ7l9mzqNXQq5l4CvApuE0h0xAxvzt9GxF+lHFlAYvUYwaNDC XcFDRdRO+IS0Xt+i8dnhvNyGG05gut8vNkPUk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=WigAm6R3JnrkS0bWmUO3ZB1tWo9KDMYSlwhtkqHAIps=; b=oiwyhAf1GNDu78HAzE52BI+YGaGyyNHqJVVTBgB5x4bGbSW95bgHYmlnZA8fTBoi06 x8TcSIYW6ZQkeujfqmCFb6pL9DxT/rlrs1szqXVmKPhYnsuZdROAZdTsBX8FEYdrLGix zai981FCQs8ACr/D1c74CoJ9gCnGPldnzyr650af91C9oCuFRNw00XshZYqYLSzZLs9Q XogArE1KSxmuTm3LcyR5PmxdSNbJQiRRVWokVD8YMA6Vn8Ih4pnLDuahnYdSuggQi6NV zsaB0ggOuBeLv/6+j/EVu23qScx/RYa6ZO5yI480mwq2zL9b9kUbWSuiVIYoQG+tCJ5m sS+A== X-Gm-Message-State: AOAM533+/K0zB8iRTrcXVBUMANfq/82NYP+gl/LAzgYyA7EBQXAWgCJU urCmeIJP/8nsT1aBV967+n96tlsmlRPuEw== X-Received: by 2002:a1c:2e46:: with SMTP id u67mr8770259wmu.156.1590068853633; Thu, 21 May 2020 06:47:33 -0700 (PDT) Received: from chromium.org (205.215.190.35.bc.googleusercontent.com. [35.190.215.205]) by smtp.gmail.com with ESMTPSA id q4sm6733605wma.9.2020.05.21.06.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 06:47:32 -0700 (PDT) Date: Thu, 21 May 2020 13:47:31 +0000 From: Tomasz Figa To: Xia Jiang Cc: Hans Verkuil , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Rick Chang , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Marek Szyprowski , srv_heupstream@mediatek.com, senozhatsky@chromium.org, mojahsu@chromium.org, drinkcat@chromium.org, maoguang.meng@mediatek.com, sj.huang@mediatek.com Subject: Re: [PATCH v8 03/14] media: platform: Improve getting and requesting irq flow for bug fixing Message-ID: <20200521134731.GC209565@chromium.org> References: <20200403094033.8288-1-xia.jiang@mediatek.com> <20200403094033.8288-4-xia.jiang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200403094033.8288-4-xia.jiang@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 03, 2020 at 05:40:22PM +0800, Xia Jiang wrote: > Delete platform_get_resource operation for irq. > Return actual value rather than EINVAL when fail to get and request > irq. > > Signed-off-by: Xia Jiang > --- > drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > Reviewed-by: Tomasz Figa Best regards, Tomasz