Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2874547pxu; Sat, 19 Dec 2020 05:01:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzOQxJJO0fzdQIEdTHX/CBCtmdZidaXjDd6WVYHwySMgti9rlsdRu7QPlm8D7KOy5aYsLNo X-Received: by 2002:a17:907:20a6:: with SMTP id pw6mr8377058ejb.73.1608382889864; Sat, 19 Dec 2020 05:01:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608382889; cv=none; d=google.com; s=arc-20160816; b=dr4Ej0rDMW6SIVXFZj6JLIHFNhxWLd+3nqOpIFhukqIb9syKIvcjvwoH10GqF28wVE axPU0Rklv+s08sRwhWwcVinJbw3jqsengFe08hbbKmUmEkCxCZ+H6lQriGDFRGbGd/Xg OrI8LqshhmPS9GVjK6g3oBs+IOa5t5kplxvZU0u0HJ16b/D6msy2DYvGRJAakck3Zgff 9WQNetnrmwd+XYH9PGLEk7jxJ/Byl584ek7xRPsA900+f7Us0pSyEMo2HY34n6bZiTGE se6tveJf8bQo2LqQ/CQorQCIk7NpZlwiiFAinYGVc8v/t3ImaBFU1hEHVmnWBD9XHJm3 XgPg== 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=OlSftWlZVKbJ0lcM/EFl8hyZTBYevd3CarppJpatCVTIKm1owIE3b1mhMMD2oZS1SX ioZ/jsFZOtsp7quGqjJK948ZJ/aJDNvgPw8tB6Sw9oiRwAQHBtdU6CX6g9db9rhf1BJ/ UhLqKSRVfdfddeSQHh4YFrQI7ozIxp3Vhb0cUmD3JFpThbftb5tHNmAKKHPpzJA96gp2 xpcC/U/7stiJDnvNk9Y0+m1C5EnkUmMqLpq4TqsLEXn8n5nQoWIApE3DUe6vQB2dlsdS rVMfvUGkPD3KyOM5jIl4d5Azv3Oug/9+rsomiygBiIrUosnHEvO0cMNTUJfzQUOrm7zs 8fQg== 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 hk16si4747788ejb.8.2020.12.19.05.01.07; Sat, 19 Dec 2020 05:01:29 -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 S1728101AbgLSM7W (ORCPT + 99 others); Sat, 19 Dec 2020 07:59:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:45166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727871AbgLSM6v (ORCPT ); Sat, 19 Dec 2020 07:58:51 -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.9 36/49] USB: add RESET_RESUME quirk for Snapscan 1212 Date: Sat, 19 Dec 2020 13:58:40 +0100 Message-Id: <20201219125346.438168710@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201219125344.671832095@linuxfoundation.org> References: <20201219125344.671832095@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 },