From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 F3862526A84 for ; Wed, 9 Sep 2026 10:55:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788951328; cv=none; b=pilZfxM9BZCYF/iqzX/jFg+DhQv0QjwuHU5U+KzdY1vHUABPKHDYFUeAdE1K9dWj/+UBJk9ctgXKyvPfTkmPZqsxo55f/C8RtxMz1BnQxDak+gRPqOsmlUkscNJpd1HRH+K0nIh6Bm92MfN+kr90w1NEHdFXAs8IVoTLKRHBJ48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788951328; c=relaxed/simple; bh=k05UT2VKCqZEJ4/BNfQA7GOqCmn8mSnP//0B5jevLFI=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=ISV7WDLpnjuoGuwDoM4ZcdxZRiPhozCZocjtMicboCjOn6GhrNiBqmOV2idkCvoOWugu7uYDXnPDr5DXjDYaBr7fdlUE72S5vCsBvxFwSwi/euhI/TeucttkVMk+vFr/XPBBj3mjCg0AX/6L22tME1xw2K+T4CDlazmJZCmV+Eo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2Dmr3Msc; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="2Dmr3Msc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6C941F00A3A; Wed, 9 Sep 2026 10:55:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1788951326; bh=2VKocLGraBxBPiWzfTdtozOlZ4Ze160UGOvlIxHo6W0=; h=Subject:To:Cc:From:Date; b=2Dmr3Msc/xIkeNaSS5WJLb2HODpruvE6zfIsBjrrZcihiKrvz2uqxXVpWgXOy5vDM 4RDRg+SL7x8FrI73sqf8hEUd2IhPlXnexqAvJdmqXmdswcFTqxajbrVse0CnhbToFu K4v8Ckx4NSydeDEnasPnmUQuEPZLdkUbNyhSKYZA= Subject: FAILED: patch "[PATCH] media: rkvdec: Propagate platform_get_irq() errors" failed to apply to 5.10-stable tree To: ahmisaranrao@gmail.com,detlev.casanova@collabora.com,hverkuil+cisco@kernel.org,nicolas.dufresne@collabora.com Cc: From: Date: Wed, 09 Sep 2026 12:48:29 +0200 Message-ID: <2026090929-ragweed-urgent-31dc@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.10-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.10.y git checkout FETCH_HEAD git cherry-pick -x c37aca64206fafe938119e801a3fd10a537a051f # git commit -s git send-email --to '' --in-reply-to '2026090929-ragweed-urgent-31dc@gregkh' --subject-prefix 'PATCH 5.10.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From c37aca64206fafe938119e801a3fd10a537a051f Mon Sep 17 00:00:00 2001 From: Narasimharao Vadlamudi Date: Wed, 1 Jul 2026 16:42:03 +0530 Subject: [PATCH] media: rkvdec: Propagate platform_get_irq() errors platform_get_irq() returns a positive IRQ number on success and a negative error code on failure. It no longer returns zero. The driver currently returns -ENXIO for all failures, which loses useful errors such as -EPROBE_DEFER. Return the error from platform_get_irq() directly. Fixes: cd33c830448b ("media: rkvdec: Add the rkvdec driver") Cc: stable@vger.kernel.org Signed-off-by: Narasimharao Vadlamudi Reviewed-by: Detlev Casanova Signed-off-by: Nicolas Dufresne Signed-off-by: Hans Verkuil diff --git a/drivers/media/platform/rockchip/rkvdec/rkvdec.c b/drivers/media/platform/rockchip/rkvdec/rkvdec.c index 4fd06f4c04db..061281f903f3 100644 --- a/drivers/media/platform/rockchip/rkvdec/rkvdec.c +++ b/drivers/media/platform/rockchip/rkvdec/rkvdec.c @@ -1818,8 +1818,8 @@ static int rkvdec_probe(struct platform_device *pdev) vb2_dma_contig_set_max_seg_size(&pdev->dev, DMA_BIT_MASK(32)); irq = platform_get_irq(pdev, 0); - if (irq <= 0) - return -ENXIO; + if (irq < 0) + return irq; ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, rkvdec_irq_handler, IRQF_ONESHOT,