Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9193869pxu; Mon, 28 Dec 2020 08:57:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKMbnbJa5rlXehglxHv7bawg/VZF4EopWgPVEvsfNOmp0s4+Tri17RDvIvcO5aWt6ra5/i X-Received: by 2002:a05:6402:3186:: with SMTP id di6mr41518750edb.16.1609174653044; Mon, 28 Dec 2020 08:57:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609174653; cv=none; d=google.com; s=arc-20160816; b=Ho+uMrOM626Du1pEnTxRRMUJNisC0PQ8SQHLQPxFD8krlZoZdO612sPX7ee4a6rm8Z 0NuPV/UV91g7VV25ydIIuE3CDZ1u8H/xNRKfy+zGQq5AdE0cT/p2jAzwTqAHk8uY0MZP GueLxgo5sUUWAH3hi5EvtbDd6v1RrGSaTeXOSWyvzYUNvc3uIXKoDcxIzIzHDoot1Xh3 c5r0UyVdByVYuoU5aKA/V43lix08kcoc7qBEpC9l2N9U07x3oSJIWHlbYG+4x3lHpeLp D/QIHFcdGTGHx+t7LCrSisWk5iXHW+QSZpNQ+kkph8AGpxdlmdLyX1TdijuJEmqBF5El T86Q== 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:dkim-signature; bh=ZElVuXSrQysI9dxTZW4KsovdLJpmqUN3G0Whz0Fj1bk=; b=d5edvsvSIMb2ee0sxKgwys+8RURkFw9xENh9sYf7XGfq4Zv1l6vnW9Tl0+xphNsS3l XF7ioJRbhqOAHkLl3L0+jpNgyHcvVrrDES135jjLuMnOk8i+MynhNwhCF9oUuko/k6oA R8Ok3TlAN2J4tQdU7yMAYguqaXlVyEgd1KGU+OJC/XNZ+awcZKqv7Ep+IY4nekGi0s/7 nKOhi/tFY7QFK3WCZmcWzU3UXziinDsViCeU5WI8JkDqDdz50icdlDcrxMMjLH510Stb DB8i6j3tpaU/QFKg0/viCWYXtc81oBxcrNeaVcmvHw6rg2oefAtR7QE1eLKf7u77/ESm AB7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=C1JkNSvD; 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=pass (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 p17si20066536ejd.570.2020.12.28.08.57.09; Mon, 28 Dec 2020 08:57:33 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=C1JkNSvD; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727768AbgL1Mwr (ORCPT + 99 others); Mon, 28 Dec 2020 07:52:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:49752 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727764AbgL1Mwr (ORCPT ); Mon, 28 Dec 2020 07:52:47 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 00EFA2242A; Mon, 28 Dec 2020 12:51:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609159899; bh=WaveH1Q9AVRFJF+yNl25odc0yleqi42jKABjuKowRTk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C1JkNSvDObuWH754ItD1VYHLd1UQuZQ4/y3dyctods67Wb3yTLCdi5xhgMLyTwmfR Gy+Fdky7Gbrf3p3VOzmrx5nsszPr73WmP2bwu8M978iMW2GC3+PzxmywKxAQrLZ3qj iwKAYIX0z9zUJI7vKIibxIp8h3oQL6SBg9VDRrp0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Oliver Neukum Subject: [PATCH 4.4 014/132] USB: add RESET_RESUME quirk for Snapscan 1212 Date: Mon, 28 Dec 2020 13:48:18 +0100 Message-Id: <20201228124847.090258183@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124846.409999325@linuxfoundation.org> References: <20201228124846.409999325@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 @@ -189,6 +189,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 },