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 36DE62528E9; Tue, 29 Apr 2025 17:22:24 +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=1745947344; cv=none; b=YCZLvRgWBggxKURyfsbqKHkduNNnn2+kSeJUfEtIVSc4xJB5uFSjJiKV83gqv/Dr+duHk2/aiDIfQO7whgqT3i+HQdNAJQzWoC3FpgdP7KSGUicg+haOWv1FxAmy3NIfW1UFBVpEem6YRtUGMfmHvmuNrbbg05+XoABYeG4zGlk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745947344; c=relaxed/simple; bh=dDFzUq7mit4eFFBLrh1MNwq9fXXFKKlDq0blVpvx880=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=PxC1z0QsvWIzgrTOxLswLzf7+nBIj0gZlXLxdEOOkxluLGpKH0twEShm3+8dVq4lZFe+dMwwYzLNZRajiQAiBJCWI6BsfbwJLGIoLtYdTWzRAMkW1Gk+2KaWf+KbdiGAxMyL8gX9U9Jb8yY84RfUr7IC60HNSlJmJ6lRZ0bBRp8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qys25A62; 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="qys25A62" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5C76C4CEE3; Tue, 29 Apr 2025 17:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1745947344; bh=dDFzUq7mit4eFFBLrh1MNwq9fXXFKKlDq0blVpvx880=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qys25A62LudRoHKaF2EY5x4WXdPaH2qm+yct8YLlWRmMwcdA5WUaOc+IfWiP/W66C z85b6BsNoSA7v2qkcd018TlGYlRe7mI2ZTOG9qpqoBj4tMzlQMM1BYAJuY03Tc15Iz XDxoWqkBqGGZhCiqTm5qPfgUlWypMtD5SA1O1+Ls= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Miao Li , stable Subject: [PATCH 5.10 250/286] usb: quirks: add DELAY_INIT quirk for Silicon Motion Flash Drive Date: Tue, 29 Apr 2025 18:42:34 +0200 Message-ID: <20250429161118.209114534@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250429161107.848008295@linuxfoundation.org> References: <20250429161107.848008295@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 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Miao Li commit 2932b6b547ec36ad2ed60fbf2117c0e46bb7d40a upstream. Silicon Motion Flash Drive connects to Huawei hisi platforms and performs a system reboot test for two thousand circles, it will randomly work incorrectly on boot, set DELAY_INIT quirk can workaround this issue. Signed-off-by: Miao Li Cc: stable Link: https://lore.kernel.org/r/20250401023027.44894-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 @@ -380,6 +380,9 @@ static const struct usb_device_id usb_qu { USB_DEVICE(0x0904, 0x6103), .driver_info = USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL }, + /* Silicon Motion Flash Drive */ + { USB_DEVICE(0x090c, 0x1000), .driver_info = USB_QUIRK_DELAY_INIT }, + /* Sound Devices USBPre2 */ { USB_DEVICE(0x0926, 0x0202), .driver_info = USB_QUIRK_ENDPOINT_IGNORE },