From nobody Mon Feb 9 08:33:39 2026 Received: from cstnet.cn (smtp21.cstnet.cn [159.226.251.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61FF81850A4; Mon, 26 Jan 2026 01:44:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.226.251.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769391865; cv=none; b=aXvd4f7kYGtbxbO2Th0IXk8uSL5jlfXtNnB5VNFRq1UUY5tAi6wlK2ldhqqw22ti5PHxccj/PUsqctwTby5rTLz3Kg6GR6onb7aWM01PBqhSh+wDwx9A5s5mYxf++vuLSQRg0MAgYLezUkX80bHp0e1ZcmqfV/ak1JGm1ViAX6E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769391865; c=relaxed/simple; bh=nSfnJFRAVybtZukwVt9xRwce+NU+KVil1a4kgYOjjzk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Ojnp6qzuhpQmnQz5zyI8N5qZvatYPeinclBRqxIYP35ceRIc+uVqxo90bt3e30vP4m7Xsp4IAoAZgVbJdXWpD+He+S0m1gPUqwRMREbjgbwdKwbGTxp+v1g6aCZo3nwYKeKVpWX/bigYLmH2xzDTtoYu3rAh6Tqmg1L7gBrKIh0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=isrc.iscas.ac.cn; spf=pass smtp.mailfrom=isrc.iscas.ac.cn; arc=none smtp.client-ip=159.226.251.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=isrc.iscas.ac.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=isrc.iscas.ac.cn Received: from localhost.localdomain (unknown [36.112.3.223]) by APP-01 (Coremail) with SMTP id qwCowADHbWntxnZpEFs_Bg--.35869S2; Mon, 26 Jan 2026 09:44:13 +0800 (CST) From: Haoxiang Li To: mchehab@kernel.org, hverkuil@kernel.org, laurent.pinchart+renesas@ideasonboard.com, sakari.ailus@linux.intel.com, jacopo.mondi@ideasonboard.com, ezequiel@vanguardiasur.com.ar Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Haoxiang Li , stable@vger.kernel.org Subject: [PATCH] media: omap3isp: drop the use count of v4l2 pipeline Date: Mon, 26 Jan 2026 09:44:12 +0800 Message-Id: <20260126014412.2462864-1-lihaoxiang@isrc.iscas.ac.cn> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: qwCowADHbWntxnZpEFs_Bg--.35869S2 X-Coremail-Antispam: 1UD129KBjvdXoW7GFWfAFW8Jry8CF18ArW7twb_yoWfArb_Zr nrWF4kWrykGr1qk3WYyrn3uFy5tw1kWr1fXF4aqa1ay3y5CrnxJFyj9rWfXrWUX3W2kFyD Ww1YqFyxG343CjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUb3xFF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Jr0_ Gr1l84ACjcxK6I8E87Iv67AKxVWUJVW8JwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr0_Gr 1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xII jxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr 1lF7xvr2IYc2Ij64vIr41lF7I21c0EjII2zVCS5cI20VAGYxC7M4IIrI8v6xkF7I0E8cxa n2IY04v7MxkF7I0En4kS14v26r1q6r43MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4 AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE 17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMI IF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_Jr0_JF4l IxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvf C2KfnxnUUI43ZEXa7VUbGQ6JUUUUU== X-CM-SenderInfo: 5olkt0x0ld0ww6lv2u4olvutnvoduhdfq/1tbiBwsSE2l2MU9KcgADsX Content-Type: text/plain; charset="utf-8" In isp_video_open(), drop the use count of v4l2 pipeline if vb2_queue_init() fails. Fixes: 8fd390b89cc8 ("media: Split v4l2_pipeline_pm_use into v4l2_pipeline_= pm_{get, put}") Cc: stable@vger.kernel.org Signed-off-by: Haoxiang Li --- drivers/media/platform/ti/omap3isp/ispvideo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/ti/omap3isp/ispvideo.c b/drivers/media/= platform/ti/omap3isp/ispvideo.c index 0e7f0bf2b346..2d0061101a43 100644 --- a/drivers/media/platform/ti/omap3isp/ispvideo.c +++ b/drivers/media/platform/ti/omap3isp/ispvideo.c @@ -1324,6 +1324,7 @@ static int isp_video_open(struct file *file) =20 ret =3D vb2_queue_init(&handle->queue); if (ret < 0) { + v4l2_pipeline_pm_put(&video->video.entity); omap3isp_put(video->isp); goto done; } --=20 2.25.1