summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWitold Lipieta <witold.lipieta@thaumatec.com>2022-08-09 13:29:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-15 12:23:51 +0200
commitf5ab3e0ef477421b0aab18a8ed63e969fc30e0c5 (patch)
treedb6b848bb40d241e20dcd9ef176fe44da4f0efc3
parentb15b145e59b8eb4f1253604a481778f32e639cd8 (diff)
downloadlinux-stable-f5ab3e0ef477421b0aab18a8ed63e969fc30e0c5.tar.gz
linux-stable-f5ab3e0ef477421b0aab18a8ed63e969fc30e0c5.tar.bz2
linux-stable-f5ab3e0ef477421b0aab18a8ed63e969fc30e0c5.zip
usb-storage: Add ignore-residue quirk for NXP PN7462AU
commit 2aa48857ad52236a9564c71183d6cc8893becd41 upstream. This is USB mass storage primary boot loader for code download on NXP PN7462AU. Without the quirk it is impossible to write whole memory at once as device restarts during the write due to bogus residue values reported. Acked-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Witold Lipieta <witold.lipieta@thaumatec.com> Link: https://lore.kernel.org/r/20220809112911.462776-1-witold.lipieta@thaumatec.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/storage/unusual_devs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index fedf7e2bc8af..8c186ab5b5f7 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -2313,6 +2313,13 @@ UNUSUAL_DEV( 0x1e74, 0x4621, 0x0000, 0x0000,
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
+/* Reported by Witold Lipieta <witold.lipieta@thaumatec.com> */
+UNUSUAL_DEV( 0x1fc9, 0x0117, 0x0100, 0x0100,
+ "NXP Semiconductors",
+ "PN7462AU",
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+ US_FL_IGNORE_RESIDUE ),
+
/* Supplied with some Castlewood ORB removable drives */
UNUSUAL_DEV( 0x2027, 0xa001, 0x0000, 0x9999,
"Double-H Technology",