Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp313955pxk; Fri, 11 Sep 2020 07:39:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvFjL/S+1ffL0rMJXcom6kGkR51uE3fktbNupXPiYrmRS6Na9q+0JCVlpmA98zlyYRbokQ X-Received: by 2002:a17:906:77d1:: with SMTP id m17mr2424419ejn.96.1599835196457; Fri, 11 Sep 2020 07:39:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599835196; cv=none; d=google.com; s=arc-20160816; b=HkP3P/ouAJyJuUvGB4/Uof2wc53+3lGj7PA/U0tlt1mYe/T1EfPqMIjayZTli+W9HU wU+Q/SiyBnTU3DiTkZN0ncCUx2gNDACbU2Cw7SV0c3gJTsL4ixNB9xxGA/2ExPiX6gaM BzZKTmDpr5hAVhG2h3t/XVrm0rbStjYvd5akqsg0g2IKu8XXaWr6jd7X7N4CIHFH2+Rv ybJhlLDRflSANl5tg9oPshYognZR3W8Buj//WoAi+2Ij3he/Y+lFtBA570XUMHzhgKAN iLpi6MG7pgCXyCnWhAm6ggPFNA0ETnLluWUUd/Ot2aEYJf59EpJpjPFNAffjl4hRXXex S4lw== 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=gb9aWz+L+4b/px59Jv+0VOBi3bWkNtqR+qUWNXtoqd7sAffuwBTMrbMccnLALaFsSz mV4MaEjLZoB2ULgalZZx9S9iShvFrUY/+PlFHvH/ZA8nYVtbf/7JLPYu9gaYO4xfwuQP rrX3vRiXrAQXkav2DlqwuOgTykNc6GXxa4U4ZleqLi1M3WDlgDsJy9dxazLNPESkdA8V 4pNXC3vyz8eLBsrI2a3ur8R7UZtF6wJ8slI0/8co0AN4Q7thJBSQSqPzJG3VM6QTzrGE XCzVfemzPu46GzOtE1CaMDeGrY5lSDp8dK82jr/rvjHL1w2Ad/CfgVuEBpyckd9a0tYB z/Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f8uaG7eJ; 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 x15si1262669ejs.713.2020.09.11.07.39.32; Fri, 11 Sep 2020 07:39:56 -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=f8uaG7eJ; 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 S1726317AbgIKOiD (ORCPT + 99 others); Fri, 11 Sep 2020 10:38:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:56038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726081AbgIKNMA (ORCPT ); Fri, 11 Sep 2020 09:12:00 -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 364B5208E4; Fri, 11 Sep 2020 13:00:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599829235; bh=4TZtepcvRkMtB2LjKKBWw+jkZjaqiqtRySt+xi5nguc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f8uaG7eJKC4UKtXEp3iREuhyVlL8dmpyGQ0+GNVtYXDNeLzC1RYeDFitCmKocyo1H Kl8o32eGhOSAYvjAB3Bi3L6EIoqMxn9sgWhzEJnMr8Dmbop6zqtwl3gB+2BZjngiEQ hHL0Kv02Fr0U2Fhn/yNHeA/KZqJMJimD/S33imLE= 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.19 1/8] ALSA; firewire-tascam: exclude Tascam FE-8 from detection Date: Fri, 11 Sep 2020 14:54:48 +0200 Message-Id: <20200911125421.771196664@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200911125421.695645838@linuxfoundation.org> References: <20200911125421.695645838@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