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 48CB024111D; Tue, 29 Apr 2025 18:14:45 +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=1745950485; cv=none; b=puCy1WdKMl78NK0PQqmKjkFXYKmS5aq48S8qtyEQ3MLfz1RsUvjOqRCKokkjZE6EDH/XYnUPFrd3z/MGuDhgJe+F2x0H2HYb4oybnDG3wqp46JeCmovwQ2SrqVS8nA++8/qwLqtb95WLqe9VOja2kXMeE+P7WTUqe6oYSiATN1Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745950485; c=relaxed/simple; bh=hHf5s9t+y8Cgw94WYoaFjDm9hQoA7DPYcBpqzYIk6s4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QvzZVkbXpWUhbPfG+ijUrG8d3ifR//75FjkCj8+KFOb04QuUKzG3YseYpJUBWF4kYOidf9pUKGw2PthPdN8siQUOC48BAjLN4ybnGzSPgfodyf3Ifn1XvhbKw+xsjL680AeM3KDrOCePuYh1JcqxWkjJdusQBRTWiOYWZbRkjzI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xVB7ebD9; 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="xVB7ebD9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABA4AC4CEE3; Tue, 29 Apr 2025 18:14:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1745950485; bh=hHf5s9t+y8Cgw94WYoaFjDm9hQoA7DPYcBpqzYIk6s4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xVB7ebD95ug2FNq749Jqjpv6gBKX7Xp6I5pNZjeM08cjEGGK5XFnmw4qtx9oA1wiX 8BnzHyQ0MT6Aeee2PIhs2Z9/+aTBV/MmtNl1N1kvGiSFbMEY7+4Y68oJ7Ir4AHdnbq KO9PLTK+hOSYd1ZzFBiyHwiqGUOnUyvLTEkd2gEs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, stable , Miao Li , Lei Huang Subject: [PATCH 6.6 111/204] usb: quirks: Add delay init quirk for SanDisk 3.2Gen1 Flash Drive Date: Tue, 29 Apr 2025 18:43:19 +0200 Message-ID: <20250429161103.979091843@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250429161059.396852607@linuxfoundation.org> References: <20250429161059.396852607@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Miao Li commit 37ffdbd695c02189dbf23d6e7d2385e0299587ca upstream. The SanDisk 3.2Gen1 Flash Drive, which VID:PID is in 0781:55a3, just like Silicon Motion Flash Drive: https://lore.kernel.org/r/20250401023027.44894-1-limiao870622@163.com also needs the DELAY_INIT quirk, or it will randomly work incorrectly (e.g.: lsusb and can't list this device info) when connecting Huawei hisi platforms and doing thousand of reboot test circles. Cc: stable Signed-off-by: Miao Li Signed-off-by: Lei Huang Link: https://lore.kernel.org/r/20250414062935.159024-1-limiao870622@163.com Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -369,6 +369,9 @@ static const struct usb_device_id usb_qu { USB_DEVICE(0x0781, 0x5583), .driver_info = USB_QUIRK_NO_LPM }, { USB_DEVICE(0x0781, 0x5591), .driver_info = USB_QUIRK_NO_LPM }, + /* SanDisk Corp. SanDisk 3.2Gen1 */ + { USB_DEVICE(0x0781, 0x55a3), .driver_info = USB_QUIRK_DELAY_INIT }, + /* Realforce 87U Keyboard */ { USB_DEVICE(0x0853, 0x011b), .driver_info = USB_QUIRK_NO_LPM },