From patchwork Mon Jan 13 08:56:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miao Li X-Patchwork-Id: 13936952 Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.2]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 15535231A46; Mon, 13 Jan 2025 08:57:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=117.135.210.2 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736758629; cv=none; b=NStcxnbhQ9sUjCM/StQuI6cdi+sH/RRdDjaQ7PrI7fG9KMZgVwXLHA0dKjCkawkH3g/Q0+RUijGpqBeERiGJWjJ2FkEXxhib3W97j9QNO21o5fEsKmKjSQHcePBEz51cLNFPvKJMJl0QTZobYBaqE6oxVvUuX2tOdZz0IV1pfE4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736758629; c=relaxed/simple; bh=jIivlDOid38SCixZx8tOJOfsmotUaXdoMWxFWA8o910=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=reNgxW3vK+EjfFbuuuv1ObHT+AZy/fKzOAqx9khZq5MY/c3fLWq/IGFaGTFQjrk5lIAPOCC3JM3Zdpyr8HF0IY5iJR3/KIbscDMx/2bp18TU+ynKTMnO+RjWvpPHMOQ2VQOJ0t/+m87X+YKoKOuMW2YlPdbe9Cq+z8y3zbkMlS4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com; spf=pass smtp.mailfrom=163.com; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b=H1k1A9KY; arc=none smtp.client-ip=117.135.210.2 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="H1k1A9KY" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=FO5D2 HzDbGBfa801PfrpzZ3LlPBf64aKEOl4zwSmw6U=; b=H1k1A9KYzcHzxbfznGkD0 sqs2ik9KacfzC/SUZwLtpaTge2BohZjzSjdvpwFtDzIRG/OUfJOeMAKG9sv/UmJD ZdvF6LkaNyvchnzHYpyJu82XQWpzANhk8rafAUGVGYiBZVqYFH9iF9UpjfDpkdWD NRxGIJF7UMQsD3vBy+ULfg= Received: from localhost.localdomain (unknown [116.128.244.169]) by gzsmtp3 (Coremail) with SMTP id PigvCgAXfrZE1YRn5YYLJA--.46695S2; Mon, 13 Jan 2025 16:56:38 +0800 (CST) From: Miao Li To: gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, limiao870622@163.com, Miao Li Subject: [PATCH V2] usb: quirks: Add NO_LPM quirk for TOSHIBA TransMemory-Mx device Date: Mon, 13 Jan 2025 16:56:19 +0800 Message-Id: <20250113085619.44371-1-limiao870622@163.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250113075118.30007-1-limiao870622@163.com> References: <20250113075118.30007-1-limiao870622@163.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-CM-TRANSID: PigvCgAXfrZE1YRn5YYLJA--.46695S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrZFW3AF1DuF1kJryxXFykuFg_yoWDtrg_ur 1UWa93u3W8GF9IyrnFv3WfZF48K3WvvFyvga4Dta4rJF47uwn5Ja17JryqvF1UGr1DtFnr KrnrCw1kZr18ujkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRiQzs7UUUUU== X-CM-SenderInfo: 5olpxtbryxiliss6il2tof0z/1tbiEQzTzWeE1HYVFAAAsD From: Miao Li TOSHIBA TransMemory-Mx is a good performence flash device, but it doesn't work well with LPM on Huawei hisi platform, so let's disable LPM to resolve the issue. Signed-off-by: Miao Li --- V1 -> V2: Modify the format of author's name to full name drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c index 13171454f959..67732c791c93 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -394,6 +394,9 @@ static const struct usb_device_id usb_quirk_list[] = { /* Kingston DataTraveler 3.0 */ { USB_DEVICE(0x0951, 0x1666), .driver_info = USB_QUIRK_NO_LPM }, + /* TOSHIBA TransMemory-Mx */ + { USB_DEVICE(0x0930, 0x1408), .driver_info = USB_QUIRK_NO_LPM }, + /* NVIDIA Jetson devices in Force Recovery mode */ { USB_DEVICE(0x0955, 0x7018), .driver_info = USB_QUIRK_RESET_RESUME }, { USB_DEVICE(0x0955, 0x7019), .driver_info = USB_QUIRK_RESET_RESUME },