Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp394657pxk; Fri, 11 Sep 2020 09:44:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8Dk2FecxhzEurfxlb55ZHn7GliJ60UslLCLW+x/Ur+FiQBzDZj6RzKPcLyEd73Z/mndln X-Received: by 2002:aa7:d991:: with SMTP id u17mr3117867eds.11.1599842684351; Fri, 11 Sep 2020 09:44:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599842684; cv=none; d=google.com; s=arc-20160816; b=zl/JU0+/a/1sA/BLMQIaZJavD4sKT4NWXYnbB49eATYz/zXjQUhsGO8n5Yn/upA9Y7 AQ75odMdmm16rISGgle7jvbAhzZyj5TPTDvMHrKPhsHjH5JgI1rjMGjgEzZGbQRVYm/t cz2xU+2e08E5i2b0inLaQqW3u8hiJOPmTl1SngB27slguS7QUdTj7rfonVkFSNE15IGf s7VJUj7hgqN4dGX+PcaHsZPBSZeDqmD/73m/S29QWVMemkJV3Y35mWNZq2yBHnTI59O8 ZEllMD8/pFoacc59FhSaHCQET9haSl7q8eteIHyMmwoFTsX1b2KkkcvDQJLkcz31MPxH 7L7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=dLMatuTcgjN0AWunCNBzWWhetbadxpygu02CJIezk80=; b=SWeFp6VatVWjGg1yfFbKyRp66UK+hKyf42MVli1cwtBlXFEcl5rKKBVXiClve3u3dv k6EgW6hqcv1N++VoETZYZCQ0Oa39HGs8hVENmqcUXaLUKO1lZMyVK1ZNPIBqjkLTpYXm uYVYy0EM+ctlDz8SLIfnCQEEx33faJHpjJwxrLfJs8jzoa53SiSXZ6mQGLQ0SsrxLT0B BT16lYKDj0gsMMSnIUCecyky+xqXsH7RSkg9Z+mRxMbaSovuSStVoxk7T5m2QIUhSJ6u eYA+yTf+ovStMDeemPKJr/hrGXxUuJLdLVH7t4BiTWN+Cvz0H+6sWt4boF4NpflWbAIb D8nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yyqX12kT; 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 dp12si1803879ejc.155.2020.09.11.09.44.19; Fri, 11 Sep 2020 09:44:44 -0700 (PDT) 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=@kernel.org header.s=default header.b=yyqX12kT; 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 S1726447AbgIKQnl (ORCPT + 99 others); Fri, 11 Sep 2020 12:43:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:50354 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbgIKPI2 (ORCPT ); Fri, 11 Sep 2020 11:08:28 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A4479223BE; Fri, 11 Sep 2020 12:58:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599829110; bh=yTNy6WjtGNrDyaxHqr4KedfBjMMcnF+93yiBi76T4Rw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yyqX12kTeSQ8P9p5JxnEXAcBaIpagJajioRVNlnvMykFzW//VqGwu2FQRKSh1qQZJ yGFTFY2BeltmV7aNGUYtuYzPevWMlio4WdKHZWwJ73ItVlpQIA3LuNdx2zX0ckdOXk kUzNUyiIfbAM1BumjVZuU3Xr3Umdp2HzqXjQNM5s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Sakamoto , Takashi Iwai Subject: [PATCH 4.9 63/71] ALSA; firewire-tascam: exclude Tascam FE-8 from detection Date: Fri, 11 Sep 2020 14:46:47 +0200 Message-Id: <20200911122508.051870541@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911122504.928931589@linuxfoundation.org> References: <20200911122504.928931589@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Takashi Sakamoto Tascam FE-8 is known to support communication by asynchronous transaction only. The support can be implemented in userspace application and snd-firewire-ctl-services project has the support. However, ALSA firewire-tascam driver is bound to the model. This commit changes device entries so that the model is excluded. In a commit 53b3ffee7885 ("ALSA: firewire-tascam: change device probing processing"), I addressed to the concern that version field in configuration differs depending on installed firmware. However, as long as I checked, the version number is fixed. It's safe to return version number back to modalias. Fixes: 53b3ffee7885 ("ALSA: firewire-tascam: change device probing processing") Cc: # 4.4+ Signed-off-by: Takashi Sakamoto Link: https://lore.kernel.org/r/20200823075537.56255-1-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai --- sound/firewire/tascam/tascam.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/sound/firewire/tascam/tascam.c b/sound/firewire/tascam/tascam.c index 4c967ac1c0e83..40ed4c92e48bd 100644 --- a/sound/firewire/tascam/tascam.c +++ b/sound/firewire/tascam/tascam.c @@ -225,11 +225,39 @@ static void snd_tscm_remove(struct fw_unit *unit) } static const struct ieee1394_device_id snd_tscm_id_table[] = { + // Tascam, FW-1884. { .match_flags = IEEE1394_MATCH_VENDOR_ID | - IEEE1394_MATCH_SPECIFIER_ID, + IEEE1394_MATCH_SPECIFIER_ID | + IEEE1394_MATCH_VERSION, .vendor_id = 0x00022e, .specifier_id = 0x00022e, + .version = 0x800000, + }, + // Tascam, FE-8 (.version = 0x800001) + // This kernel module doesn't support FE-8 because the most of features + // can be implemented in userspace without any specific support of this + // module. + // + // .version = 0x800002 is unknown. + // + // Tascam, FW-1082. + { + .match_flags = IEEE1394_MATCH_VENDOR_ID | + IEEE1394_MATCH_SPECIFIER_ID | + IEEE1394_MATCH_VERSION, + .vendor_id = 0x00022e, + .specifier_id = 0x00022e, + .version = 0x800003, + }, + // Tascam, FW-1804. + { + .match_flags = IEEE1394_MATCH_VENDOR_ID | + IEEE1394_MATCH_SPECIFIER_ID | + IEEE1394_MATCH_VERSION, + .vendor_id = 0x00022e, + .specifier_id = 0x00022e, + .version = 0x800004, }, /* FE-08 requires reverse-engineering because it just has faders. */ {} -- 2.25.1