From mboxrd@z Thu Jan 1 00:00:00 1970 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 ECAA31C3C1E; Wed, 19 Feb 2025 08:34:16 +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=1739954057; cv=none; b=dQTVDhrsvLNjqIfhG2lJQpkZn+dedMa22aKeNe63BcKBuW0bXJSL0x75wf0WLZsw2u1wX/2Sb585K0t13UrnxNo5B0L2VcChcMaRU3A/PM3cX2FsD7cUck7wiiMkG0EM+aDQ2d1EZxucsOrHcfdRAndCChWEhYUcOz69ErfHxzw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739954057; c=relaxed/simple; bh=NbIVtG1P+Gz9c0YCSzjly8o0RhYVh8w6BXDb4G5V8Hw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=mtDRyGayX0P8a/BGOZInt3Y3XpCDaw2au6i45tIEmvJUFHcL2L3JfQiUKDQQL+thbFiK0rw6WS5GzQ0UzFQ1W0tY/nYvKRr3DJnvFB5fvnnt0fJtjvmu8mdxgdpZ7pZVWCittW4dsxZDAJHBEagPWBVVWNdkXOybmb2lvi8MBJs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0+CAxabQ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0+CAxabQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B95BC4CEE6; Wed, 19 Feb 2025 08:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1739954056; bh=NbIVtG1P+Gz9c0YCSzjly8o0RhYVh8w6BXDb4G5V8Hw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0+CAxabQXiTS6YBI5pJ5/ohRExOgZh68p0RxjgkElI+gX5lr4orjuRhuXEUTWEZ+f FX07i/SFDQdts3td8sEtzvEppzzweQiSxfLplBdIia7x1VyHEHziVyeJjWFJKOt3sI qLPQUqORuj5wzPs6oezg7M9OJQgwArZq4U97sNGU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Isaac Scott , Laurent Pinchart , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 6.13 083/274] media: uvcvideo: Add Kurokesu C1 PRO camera Date: Wed, 19 Feb 2025 09:25:37 +0100 Message-ID: <20250219082612.872074261@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250219082609.533585153@linuxfoundation.org> References: <20250219082609.533585153@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Isaac Scott [ Upstream commit 2762eab6d4140781840f253f9a04b8627017248b ] Add support for the Kurokesu C1 PRO camera. This camera experiences the same issues faced by the Sonix Technology Co. 292A IPC AR0330. As such, enable the UVC_QUIRK_MJPEG_NO_EOF quirk for this device to prevent frames from being erroneously dropped. Signed-off-by: Isaac Scott Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/usb/uvc/uvc_driver.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c index 1e14fd0c51d2f..011a14506ea0b 100644 --- a/drivers/media/usb/uvc/uvc_driver.c +++ b/drivers/media/usb/uvc/uvc_driver.c @@ -2837,6 +2837,15 @@ static const struct usb_device_id uvc_ids[] = { .bInterfaceSubClass = 1, .bInterfaceProtocol = 0, .driver_info = (kernel_ulong_t)&uvc_quirk_probe_minmax }, + /* Kurokesu C1 PRO */ + { .match_flags = USB_DEVICE_ID_MATCH_DEVICE + | USB_DEVICE_ID_MATCH_INT_INFO, + .idVendor = 0x16d0, + .idProduct = 0x0ed1, + .bInterfaceClass = USB_CLASS_VIDEO, + .bInterfaceSubClass = 1, + .bInterfaceProtocol = 0, + .driver_info = UVC_INFO_QUIRK(UVC_QUIRK_MJPEG_NO_EOF) }, /* Syntek (HP Spartan) */ { .match_flags = USB_DEVICE_ID_MATCH_DEVICE | USB_DEVICE_ID_MATCH_INT_INFO, -- 2.39.5