From 729f5d388d6dde38a9607a2fc340888bb9824272 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Wed, 13 Aug 2014 16:48:59 +0200 Subject: Several reporters claim Android devices often need a forced reset on close. Let's try this thing then. Signed-off-by: Linus Walleij --- src/device-flags.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/device-flags.h') diff --git a/src/device-flags.h b/src/device-flags.h index b4780ea..abb438a 100644 --- a/src/device-flags.h +++ b/src/device-flags.h @@ -295,7 +295,7 @@ (DEVICE_FLAG_UNLOAD_DRIVER | \ DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST | \ DEVICE_FLAG_UNIQUE_FILENAMES | \ - DEVICE_FLAG_FORCE_RESET_ON_CLOSE ) + DEVICE_FLAG_FORCE_RESET_ON_CLOSE) /** * All these bug flags need to be set on Android devices, * they claim to support MTP operations they actually @@ -308,7 +308,8 @@ DEVICE_FLAG_BROKEN_SET_OBJECT_PROPLIST | \ DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | \ DEVICE_FLAG_UNLOAD_DRIVER | \ - DEVICE_FLAG_LONG_TIMEOUT ) + DEVICE_FLAG_LONG_TIMEOUT | \ + DEVICE_FLAG_FORCE_RESET_ON_CLOSE) /** * All these bug flags appear on a number of SonyEricsson * devices including Android devices not using the stock @@ -326,4 +327,4 @@ #define DEVICE_FLAGS_ARICENT_BUGS \ (DEVICE_FLAG_IGNORE_HEADER_ERRORS | \ DEVICE_FLAG_BROKEN_SEND_OBJECT_PROPLIST | \ - DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST ) + DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST) -- cgit v1.2.1