From patchwork Tue Apr 30 07:51:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Ribalda X-Patchwork-Id: 13648438 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E192C4345F for ; Tue, 30 Apr 2024 07:51:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ihUOY+oZdhUx12YFO4pzKq1aKmBwLyTPZ29X8GZ/QPw=; b=llOiwdQzR9uved sO8RfhmD2iwmM+aLzltS3350OdpQaRAxkZK/PxpXZm57AkVEqKtvbWTBdFfr7fRHJDtAKehTgVJvj 6dUCQznC+TeWdI4aTHLkLx61r576tdSigDsJyHww0OcK0haMr4V5MoV7qhYiaJtU9zYwaWLvO6/MB Q/JCLLbD+t0Efnfl59PV81acv752DtPKtD5QSUJybG4sQkCS6AsA9hW0UmIbWC+w1pYEq7u/7E0YD v0byuPi8Zt7amAcwogBxSos5XyW0mW3WDBuewzvlK1u1llUUjH41MuAP9g6+4GnhSwsY2QLURj1ke Qc6VrUmxUm36JYSJI6OA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1iH2-00000005VEp-0mPy; Tue, 30 Apr 2024 07:51:36 +0000 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1iGy-00000005VD5-303n for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2024 07:51:35 +0000 Received: by mail-qt1-x82d.google.com with SMTP id d75a77b69052e-43b0b09d012so6658221cf.3 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=lists.infradead.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=iOXuuLdcCgijtIR5kuW5s8yGI3bMP0E+Fy4nWsM1i3fk30ElxUXsYJdWBrQygjaeYB ma4FhT7W+EkQFMuyCjb26Hnz0F2DeUyWTrV07Yk96TtncrklWndVjqjWA1+/59fXfnjo nv0GtfXAR1kJLC/TvrRaZsw/oSgqNrp+6ZQ4s= 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=Ni3LNHX2OjmhbjMKemeF+6WRp5r8exHwvUPTKRzrquM47cv1wDPsEGPLL/7E2sWpMO mkn/LjrultAhnwpg2xS3LuFLbtjoLju9/mrD6eV8rpETvHdxzpAOFuNlje841m6J5M+t K0lbWrASlC5vPVYkgac2d5pF/Zr6USEgIi/AczmLhss7ud0QrEM9eECNkLyZLi/YwBUp 0ogvQg24IuyVhqFuJsVnt0FpuBZIMKFJ2oJ+nHrRfPXJVsqwHKTa10ELzEe9ipexidKq XXAr0K6lAdHj4pwN0R2cJ4U7EbuaQmiNlrcl5rEA2nnwlqH8gPR4DashYdH4SdR4axWj Zr0w== X-Forwarded-Encrypted: i=1; AJvYcCUjvkkAHbdcT+YIEBzO5pNTnSaEYzyt3UPR44wSAUedrv4qtzgnv3camvAGDjGDqsLp1sM5A8qYUg77csvMwZFozVSq59r1m7W9iJ18XGzIr2IwSIs= X-Gm-Message-State: AOJu0YyERCl8JwnB8wzhH8YFBoHBrZtVH6OELSij9/3HJh6FwxseYb/V B/5eSFYqTr/6ag2r/Uvqg/YA6/iyLQkc8J5cOpMXLN+eRQ5yqdGi17yE/42uCw== X-Google-Smtp-Source: AGHT+IEyG5YcY6j7jfDsETTOEF8AdovY39d93OJj2uCRcI6sLWzCh70qxqFuRIJJQAYauJh1BEq+Lw== 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> MIME-Version: 1.0 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_005133_127816_1710F587 X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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,