Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp389111pxk; Fri, 11 Sep 2020 09:35:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyELuo+zwuZaqP9l2VUFIfth3+TD6y5BW769NfgdLgnhipkkFPtfsFCp0RCRs0dpdVEJAPO X-Received: by 2002:a17:907:4037:: with SMTP id nk7mr2794874ejb.84.1599842115278; Fri, 11 Sep 2020 09:35:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599842115; cv=none; d=google.com; s=arc-20160816; b=jJSJWnqLXJWGSPhSD2SlL75uoEmt/f4CHMtXLFvPyapiS+wLuUoYmHINYLM8ZfHxe2 07trp+BgDouYdmj94l+GhdKSDe+7r7dwYzI16i8xEEli3sJ1ok5gHoVtwjONZChq0PKB iFQek4hliZO02r9W4Z9bBGqeGwSff3Vl179yZ4wZmY58a/ve19qEYAjAEJyiH6VRh7SK ApcsPjCnlGRgpXPRuW/MnHxdKI+gLEQfzb8HJicBK9fD3bNNObSYKuCxrZPAFYkxgfkx ox3T6eI5wtHlOl8vsTpihOevhSZ8VfDNhMrc2Wd3dxZ7FjJ3e9goZPROos7DJx3xWkIr UOjw== 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=MnGFDFqK8j451ls8WG4eIYhP9BNHV4wvHom2XDs5iUA=; b=New1DgEUZaEWAzPubPBOWHcZTzv3uBR8hCdEYANp02kp2xBGs97N8wWAs9NuGKaZ0X omHoMkEJgtYqbwYj2ASqkL5EKkStcBqWQZcz5zaHsoTDD7hYOk2uHbv8ona8rfNfbXRH NK0+AFYewjfbHx7zCDxxdfws0blNpIJtHsqIwDYTe9Qwi5gLLFPMpNJBBoi7VY7+r5Uj +JITS3RV7ygwZxjn+ACdI5yExihwFOSxKwkL3UkQuE3cdu3ZyOvb69ILvlHajNJAVCFs +Tst6KJJnTojerB70AwztehURO+omZ7ul3xArqzA6QKB2S8jzmXqSTS/zMoIFc3Z+PZc DGNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MuXSORVe; 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 l12si1693478edt.99.2020.09.11.09.34.52; Fri, 11 Sep 2020 09:35:15 -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=MuXSORVe; 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 S1726522AbgIKQeM (ORCPT + 99 others); Fri, 11 Sep 2020 12:34:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:52726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726445AbgIKPPh (ORCPT ); Fri, 11 Sep 2020 11:15:37 -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 9482C223E0; Fri, 11 Sep 2020 12:58:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599829135; bh=4TZtepcvRkMtB2LjKKBWw+jkZjaqiqtRySt+xi5nguc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MuXSORVe+t0axW+lTYJutYJdKrJTF4+HSHwCVAYh+Y8D3aDY7WBIIJZC67oZoD3aD cf3znsEILhMcxk8xNFg6Eyl+DJmBl/qX8ygImALdK6FZDMd+Khixb5u0u9VIkCXW/H L0rzvCXvd5LPvV5f/JfpUMzNWovdrrHJTLI9sVVg= 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.14 01/12] ALSA; firewire-tascam: exclude Tascam FE-8 from detection Date: Fri, 11 Sep 2020 14:46:55 +0200 Message-Id: <20200911122458.490379101@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911122458.413137406@linuxfoundation.org> References: <20200911122458.413137406@linuxfoundation.org> User-Agent: quilt/0.66 X-stable: review X-Patchwork-Hint: ignore 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 d3fdc463a884e..1e61cdce28952 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