Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1856543lqa; Tue, 30 Apr 2024 00:51:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCViPDyy8r/nQ88XqSyQ4K8n95Ctl7EtCj7GnXh8MmHr+59yTuCU2aixBTGs1ztn7PsTcu4I03iXUuTmwVItBcCLDPhh/JeDx9uq5TQXSg== X-Google-Smtp-Source: AGHT+IFZNOwZUMJFXO4EyLRso81cN9oyqzkvPkiVy3eUfWf6HLOpEpaFVrQkIkgKLDpf4tSX7pef X-Received: by 2002:ac2:55a2:0:b0:51b:f78d:c189 with SMTP id y2-20020ac255a2000000b0051bf78dc189mr6358543lfg.14.1714463499981; Tue, 30 Apr 2024 00:51:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714463499; cv=pass; d=google.com; s=arc-20160816; b=Urpi8d19W7iFcAGrToe/SJad7XFFNB471DFEQORJN8gz+h1/XunQ+Z1SYQbPT+YRuk U7rhAvMTfBxnCO78MteMVYjNeFGgqJF9JPVC7hli/W3ndpNIMh7D6TnvZIC0mq36W1ER mFG5iht/LXJebhFS03cG6u2B/x693SOL3HNiDKlmPcsd/tB6VN4Y9qiwnKKfVaUaiATN Byh5tU4ugSCgIFhq/AnhW2GGw764ZQL+Tu4SDzoMzQuasVHgdMy1srfgxvKBhgtYnVSd 4654tRKnZWbeeyu/ZtaBG5iJMeP+n/xZxkjYCFqOerg6RwCPeUPhko90OJIxihL8XBW+ Voqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=+Av9Ebx1j4vPRRB4vZ4jqNgLNeyuiwbH2PH8z4rELaY=; fh=Op9+hfvC2ycObfOjNS8Y1Y5j+3oq19F/iFw0LMdvHgs=; b=y0DclgEtm1YRB5ficfkDdWMqlmRz2hkrHqZfq0+m9vW9qmZjvp5puHOfB0NzWwaRxe QmyyOtxGdNCikt1Ns/ngX0ByMyacFMeoWoNdI8Rf47zIOV/LVvGTnQU5OiDf5HUiQnhw 86AbxcsX/fk5QAHoLd1d0jOSYjmER86e2WS9rQ5lbFxRVRh/k4vuAmWp6XBnu89EPUwG TCZMB7YewJGe1q259w3fvr1dohKoul7soWvNFyzUoULM1m4hQGFDuYZZEqsJCzRZMqFz B+uyeVpEAtjlN0STivWV60xyg0GgQ1LigdInvFcWhLmGaIS27OkqkRe4UrkKPbWghsRz B6Aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YnGcqBPQ; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-163499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h16-20020a17090619d000b00a588e1345c6si7738010ejd.388.2024.04.30.00.51.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 00:51:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YnGcqBPQ; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-163499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id B03421F22D50 for ; Tue, 30 Apr 2024 07:51:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 263CB3FE5B; Tue, 30 Apr 2024 07:51:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="YnGcqBPQ" Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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 EC2803EA83 for ; Tue, 30 Apr 2024 07:51:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714463493; cv=none; b=JZ+phtvpgSS8MQzPdpPdAcncerH3cc8Vzk0wW0RU4ys+kv1J2zN9dWeXo3e7653+hGcv2/is5sH0aiIVB+wS3mjVuQtLaGbAs5H9LqL6mBUQhq9WNPYVW+UAbpEP6QkWgJF0V/SHTvvQZL75lfpR45V07vsFF7Z1b7VjvVof5o8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714463493; c=relaxed/simple; bh=HZeobOuRJfmb/+xBUYIK1ybuEld0tGBVBD2NIR/ZHq4=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=GMtYX7A9KkOCQQKbOBrwpoM/Qx+pMWCfydHCI1PtN+NxpLWOVALQCDxfZktgmvHmG1NNgVSE61gS1Be83miqh+bGmop7cZqBqBUgjb7fUKXqWA3wskFoNsue22W833sa5vm8VmAjeycToV+tC4Eqg1wkmAfvxyau7tOPr4uXY28= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=YnGcqBPQ; arc=none smtp.client-ip=209.85.160.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-436ee76c3b8so42463511cf.1 for ; Tue, 30 Apr 2024 00:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1714463491; x=1715068291; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=+Av9Ebx1j4vPRRB4vZ4jqNgLNeyuiwbH2PH8z4rELaY=; b=YnGcqBPQ7k5RGiu1BWicl3KT7cdmcWTJdDdL7LGBB8FzOZppKLAbZM+hbDvyg8OY9s o1cZgaqC1yWBrhvIVJ2xTzcrWNJg7hQyGjL1i7GBw9iDa3IM9vW0CTd3Sy9muqcj0to5 pSlnGqEqR0nlxdhLdpi8ZWE9pY43wNpnImc3c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714463491; x=1715068291; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+Av9Ebx1j4vPRRB4vZ4jqNgLNeyuiwbH2PH8z4rELaY=; b=WQzDcfOe8c0BUAd1OtnUHj3HwGYm1XqOEHZ3EJaAIi1+kMvFtyyD7nxplifcoda7IV sYOxlTdYRyrTtk8Jbc2SJa70k58EJBLSemuAhueu33B4LyKId0bHwAXbC8SXU+Ng3XOP vifmT4ldtvXMmPGysr285yN93+Uq+rRL+Uzc2gi5O4/lnAKTIaugq9HNk93PFMNWTkju Gf5jxCHfvPlobzyOPTw7W88qDmnd1FXh3u3yHyxZHi7GCmwbaKgjCyaRnIYWqKRJl0m0 a7a1GR7axiBg2Oq2tqBSVp6ZuQUCQ+c5vXc0o5uEjAEwwzV5QH5EU1mgRz43VWSPrTQL 5PjQ== X-Forwarded-Encrypted: i=1; AJvYcCULsHd99iGAXcSKAZTNEjHWYB8Kj6SSQlI1WGDZTitUEn8mXXzMYll6IkFLUjPA/gyVysYg5f97xF0qRBmrJnpsCQ/kKKk+iHhe8DBY X-Gm-Message-State: AOJu0YxBWxUdCYuikeHZPPzXgpozpudTyFx9EwKuV7SkWsh2rzJzSJq4 fpW8T8udho56Qd68LiLMpW0y+38FlaVJAMkwy/CVBOMAo6cjOQMZDzUmaMx4Cg== X-Received: by 2002:a05:622a:20d:b0:43a:ecf9:c179 with SMTP id b13-20020a05622a020d00b0043aecf9c179mr6487425qtx.52.1714463490874; Tue, 30 Apr 2024 00:51:30 -0700 (PDT) Received: from denia.c.googlers.com (114.152.245.35.bc.googleusercontent.com. [35.245.152.114]) by smtp.gmail.com with ESMTPSA id z11-20020a05622a124b00b00437b4048972sm10634547qtx.18.2024.04.30.00.51.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 00:51:30 -0700 (PDT) From: Ricardo Ribalda Subject: [PATCH 0/3] media: bcm2835-unicam: Improve error handling during probe Date: Tue, 30 Apr 2024 07:51:25 +0000 Message-Id: <20240430-fix-broad-v1-0-cf3b81bf97ff@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAP2iMGYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDE2MD3bTMCt2kovzEFF0TS4PUJMNEY0tzUxMloPqColSgJNis6NjaWgD t7SS2WwAAAA== To: Mauro Carvalho Chehab , Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Scott Branden Cc: linux-media@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Hans Verkuil , Ricardo Ribalda X-Mailer: b4 0.12.4 Improve the error handling of the irq errors. I am not sure why the retcode was replaced always with -EINVAL, so I have added that fix as a follow-up patch. Signed-off-by: Ricardo Ribalda --- Ricardo Ribalda (3): media: bcm2835-unicam: Fix error handling for platform_get_irq media: bcm2835-unicam: Do not print error when irq not found media: bcm2835-unicam: Do not replace IRQ retcode during probe drivers/media/platform/broadcom/bcm2835-unicam.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) --- base-commit: 1c73d0b29d04bf4082e7beb6a508895e118ee30d change-id: 20240430-fix-broad-490eb1a39754 Best regards, -- Ricardo Ribalda