Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2878143pxu; Sat, 19 Dec 2020 05:06:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgnpRcH1zidE56a6Q146/5gTADGHUI9OswJCrpTwZrXw2gvJZFhPkD+UHxzC2QknYd9ifr X-Received: by 2002:a50:f089:: with SMTP id v9mr8888226edl.353.1608383174281; Sat, 19 Dec 2020 05:06:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608383174; cv=none; d=google.com; s=arc-20160816; b=WlL6pWGXTOjMC/+T++IHRt0g9NRShLYL5XN+7bW1WC+gyeFjMuDPAY08/ZXKLW7O3r 4ULiL/DIkxasljrhuz+LaTKMP9ZWUK39Q7tmLa2ueObjPWjZPi6NBMyi6lBe+RPd6SH7 I5OEXGmlVWD2+Awww8suh5Jz0ZO202Dl3e71qILNcoLCrkD5mUIoteYGfIT+8vBRUA7x PdcSzPuM6RMrE29Xpx0lfnc0E0I5ShejHRWuy6sKeJT9ozFiCwp69fcCLdtYzj17lGTx Wi4gVSxkj97DI+RO/KUlvoNPvu6X0hItEKGmgsZvYSMvQJ6Hw/XGc0CF4dE5ECL87SfU 8loQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=52MJeIytQ4HRvSE6+vB2lq6eAxzIXKX5ezV3iNSABCA=; b=CtViFn/wxypFzTVO5/Dv9gJUbEpRj83m97hg9JwCUiE0YO7pNlvuzzahxBObUrjOAL 4ROWxS6Ztk7/qY+30U8CZ2WaXJytllJ6MQYFbyDAcTAnXfxcerX10cHPR/MXXAawr9DC lcehBz/2503uq+DdvyjrT66bC0n5qkb9+vEwjR7R1SSL2G4EUoTDaU16c6X8FmS0LiTq jQHehvtsE/6k+C8UbKXiOPpI5ybj4HLU65YdLdCSNtBXvGhBHg4Ks64SYB2dF/ZsPVGJ Jyq13vWgAEZUiwMuIhZzH9WJeTE1i1blJ5NodY7ojJobpeCbZ+6Bw9jX+xyLtNzmNmkS WHbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u9si7834113edd.596.2020.12.19.05.05.51; Sat, 19 Dec 2020 05:06:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728357AbgLSNED (ORCPT + 99 others); Sat, 19 Dec 2020 08:04:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:51438 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728497AbgLSNDs (ORCPT ); Sat, 19 Dec 2020 08:03:48 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Oliver Neukum Subject: [PATCH 5.4 21/34] USB: add RESET_RESUME quirk for Snapscan 1212 Date: Sat, 19 Dec 2020 14:03:18 +0100 Message-Id: <20201219125342.431320155@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201219125341.384025953@linuxfoundation.org> References: <20201219125341.384025953@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Oliver Neukum commit 08a02f954b0def3ada8ed6d4b2c7bcb67e885e9c upstream. I got reports that some models of this old scanner need this when using runtime PM. Signed-off-by: Oliver Neukum Cc: stable Link: https://lore.kernel.org/r/20201207130323.23857-1-oneukum@suse.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 @@ -342,6 +342,9 @@ static const struct usb_device_id usb_qu { USB_DEVICE(0x06a3, 0x0006), .driver_info = USB_QUIRK_CONFIG_INTF_STRINGS }, + /* Agfa SNAPSCAN 1212U */ + { USB_DEVICE(0x06bd, 0x0001), .driver_info = USB_QUIRK_RESET_RESUME }, + /* Guillemot Webcam Hercules Dualpix Exchange (2nd ID) */ { USB_DEVICE(0x06f8, 0x0804), .driver_info = USB_QUIRK_RESET_RESUME },