Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp384322rdb; Mon, 22 Jan 2024 07:13:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGE5qN1ZrJr/VJ6uOQsdbLXNy3+uJR4J4Xd8qG6DZlrrkWxu04vGl3gIrE7RVME7bACcv4u X-Received: by 2002:ae9:ee0e:0:b0:783:8ba0:4db5 with SMTP id i14-20020ae9ee0e000000b007838ba04db5mr7143498qkg.2.1705936439331; Mon, 22 Jan 2024 07:13:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705936439; cv=pass; d=google.com; s=arc-20160816; b=YGgFSE5pSpbRysRyRz3Dems7xjhyOGVI1+P1B54ScZw3X0DmJn3SGqqTXkd5xjIh5D Yevp9B7MGSOakHONgro9+kKOzvWvFHzVNQS1/rMkA56LNFbUJqEfubOOVeEiLM2SEI8Y NV0reaeGacipP9pCxDvhdiemUDQy/YCjg6CdvWK0MdQumuVbmdPTYy96jnCNrZRUfLe8 +v+PAX8s4itvyrNRwx4hfYS6IsmXecZtIMetQXXh4ZY3FXpqT1E54umAov2OJFWU+fpw qeEuA4odamRhAGhSqzOKIcyBzZzx7Vc/WZUatPicJMIcKKRXdY4j+iWV1jmx+pvGR7mk YUIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=cLJ+73V+vnV8kodEMXPTbDkDRl+cFjBcUbzH1KJorcg=; fh=MSL/7hYF60PaScCJvqqoGkUWoZtElvzu/oEB/jqaobA=; b=m2KWztiHMcewIuQwBLM7h91DjOAqSljMxFddry3eA5YfPQOHuCk9G0srAz5DF/froi gpUiJj0E/hwmhFRFZSJVApQlkDWUSUhXtk7biP/bNv/JhhwgGvFAVoJBXmAwogvWuC1L nqmPGnlI6wQW70ZRu2zSI4HmjkJ8bnadI2yT15N2QO/SDndbjnt/3XAHFNM8cVgRWAuv pF12KBivOz1W61u3y/JWTiftwQQc+J+XllHMhGQ7xLuPNO96C5WE5oAXBbrJkkT2YJ2F jndoQpl/iA44uzy7dEX4T/8v/dzI18jKxVcWpsVurFkKynFBdCGkKV8S0nN7YfhhJR8b nsEw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eACYs+er; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b24-20020a05620a119800b00783a275dfc1si1152013qkk.131.2024.01.22.07.13.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 07:13:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eACYs+er; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-33253-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33253-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 189C61C229EC for ; Mon, 22 Jan 2024 15:13:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B22A51C32; Mon, 22 Jan 2024 14:58:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eACYs+er" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD1585102F; Mon, 22 Jan 2024 14:58:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935501; cv=none; b=NyS067o3fzL9I+l/GljMyoMb4n0wtWQ0OwCZ9VAzoLjbw2DzvTlVwsG/Ik9tCHH9qZIvT0Xd3Q12f6wXhDmxnhoKcb8GON7FeD8WV0GbAPX9xiDPZnFMe43qrXD5SeLmpSUXQvsup4lAg9SrR8XDXJoI6pdcBscBr8nBUdUm5XU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935501; c=relaxed/simple; bh=XcqHZjLopTn4lg1x7pKDpFDeFGze++k5rnwJFqSOoF8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ba1+GWoaUCIMd7cjVQO6gQCUKZgBs8M5DfZlGIlkVnkEVSo0G3yYbr73TO1QV/Nx7KyuqBFCik2CfuixnQBhMcBKQx/J3iw8NJIOrS/hnpWqR3zysY8oVPuCNp9a+BQ1bGOdtjcgpp7m0X08LtqVOqHzQg7xxK8YplC2UNKjctg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eACYs+er; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE6FBC433B2; Mon, 22 Jan 2024 14:58:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705935501; bh=XcqHZjLopTn4lg1x7pKDpFDeFGze++k5rnwJFqSOoF8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eACYs+erMTG3+V/uBTfkUM4YNpeWCAxnWB8eWV3iIYWxGhyOeIOw/rN+ST9gq/xZG cdnwfrb15fgnxyavtf3f7sI+K5SwnYPyQgw4BjYevHY45rk0oAgxMN4qaG04ruogWL SoyP+bQg5VMGwrgl5K9+DLTjJToqzzxigiUlLWNoH7ld/MsTgaLB6vVyvjrm/ZhTnw xe/1hFc0I2HaaP8QbV5I47s/HhnebfewqSiJe5Fhy1KpVVsYBsPQh6Rbm7wLTbgHRI JDOXFg/Z/fN9mnURWYren4k5o2YMd6aIrsKmXZv0NOTbBCcmG0yZ3OH2vCkwYiACAL qAYcKQuX44p8Q== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Tomi Valkeinen , Adam Ford , Laurent Pinchart , Mauro Carvalho Chehab , Sasha Levin , dafna@fastmail.com, heiko@sntech.de, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 6.7 35/88] media: rkisp1: Drop IRQF_SHARED Date: Mon, 22 Jan 2024 09:51:08 -0500 Message-ID: <20240122145608.990137-35-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240122145608.990137-1-sashal@kernel.org> References: <20240122145608.990137-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.7.1 Content-Transfer-Encoding: 8bit From: Tomi Valkeinen [ Upstream commit 85d2a31fe4d9be1555f621ead7a520d8791e0f74 ] In all known platforms the ISP has dedicated IRQ lines, but for some reason the driver uses IRQF_SHARED. Supporting IRQF_SHARED properly requires handling interrupts even when our device is disabled, and the driver does not handle this. To avoid adding such code, and to be sure the driver won't accidentally be used in a platform with shared interrupts, let's drop the IRQF_SHARED flag. Link: https://lore.kernel.org/r/20231207-rkisp-irq-fix-v3-1-358a2c871a3c@ideasonboard.com Tested-by: Adam Ford #imx8mp-beacon Signed-off-by: Tomi Valkeinen Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c b/drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c index c41abd2833f1..4c4514e20673 100644 --- a/drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c +++ b/drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c @@ -542,7 +542,7 @@ static int rkisp1_probe(struct platform_device *pdev) if (irq < 0) return irq; - ret = devm_request_irq(dev, irq, info->isrs[i].isr, IRQF_SHARED, + ret = devm_request_irq(dev, irq, info->isrs[i].isr, 0, dev_driver_string(dev), dev); if (ret) { dev_err(dev, "request irq failed: %d\n", ret); -- 2.43.0