From patchwork Sat Oct 15 23:33:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Hilliard X-Patchwork-Id: 2973 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp822981wrs; Sat, 15 Oct 2022 17:07:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM69RFhbvov0DGtjLfyKVJKN1CTGoppuJLdKK6mCOtW5tkf9b3y+g52z26ks4aen/UBXp65F X-Received: by 2002:a17:907:7208:b0:78e:176e:e0c6 with SMTP id dr8-20020a170907720800b0078e176ee0c6mr3587666ejc.594.1665878844468; Sat, 15 Oct 2022 17:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665878844; cv=none; d=google.com; s=arc-20160816; b=lREm8e7CXFXTKT+uYu8yk7qq9ehEU8Gf44OVUf+gvkChNQbidWzM61AuDPKHaDwdnP 2+bytY6ADVHvaHn3tywdpX0WlNCwOUs1r+DFGBcMjgyUDeTecCj73OJNCWQA+pIYUGsG ByKO48wEhPUlPDqeP9IW/Aa4cCMv/kBENATc+nSU1AKZ7TVc5ix7fA9w4IUw2+GAHKPF Iy4JOLEqBkvlikaH3u0GIBgyRkzKBDzv7UdwHdxg2VdlChoAxG3A+8tia2tHeFXD3KAv NfsRPrDaTxTdiNNo7L+It09KC66wUs/Gl9wjdoKkGAyRt7iUos+ofkduid5C65YqE/YL dnSw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1m0RqvaU8CcvLjEgPz7d1jceF1TiMS+vA+25fd7T9/E=; b=Ew4IQktV7xCMwUkQT8H9WFErUJbvyL5UOVm+zMSbkxjjgV7zLw7XbdcMKPI4nzqcsf jHb2EqS2xgZNOaH+O05W8toq05CKZzPX+w2v1yVEpqFAuYVvZyGgV9NMN5NYtgq0VDbu s2RQ+aTId/D4ENzrLHQqdGb/TE+1SfYjbslLPCCJOjXuiRCz0XbwaT2Oz51vFsuU/Ocs PCyGz+e+s6nlIx2h9/rFc8CsucpgWNk/5UZkHXV+jcj3FCzM1aSp6aLJLvPyMHsXVl3V FZ3VNik+O72FePTUMQEl/HfMeA8iYjM/AGfHVr+eOhAzL7c4Pk4eWq4gHzrtowhzsQmA yePQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=muSxxiho; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020a056402101400b004587e08bc14si5053664edu.508.2022.10.15.17.06.40; Sat, 15 Oct 2022 17:07:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=muSxxiho; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229646AbiJOXeW (ORCPT + 99 others); Sat, 15 Oct 2022 19:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229504AbiJOXeS (ORCPT ); Sat, 15 Oct 2022 19:34:18 -0400 Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BECC21DA62 for ; Sat, 15 Oct 2022 16:34:16 -0700 (PDT) Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-1326637be6eso9823135fac.13 for ; Sat, 15 Oct 2022 16:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1m0RqvaU8CcvLjEgPz7d1jceF1TiMS+vA+25fd7T9/E=; b=muSxxihox91FUI6kHRr7yKu3S6AalcTSrfFTR3dM9yTcSzf+UVf7XV4Y3/C6HLcbzC zF56a9IHWYGmkkobPmNpdirA8S7oBMeRcxAx23Nyn78WIhk7S8Je6AV7qAyfb03nkTHE YGnu26myGPJXp8c8SyHgGcKnqYfOHQlVMZAydrZiIBaBahKlenipi+6lArTqftxVHg54 zSTgIT+M2XXE+ifzByhe5LWADKXRhlorj55OEEjwNGcJALm8Du5jEclq1Uxyd69y2L0j ilNv1fYAQW8pMEJ4WFyzQ9/LPLFrnTViQ4yCYcOjvso+1RsNT+9epgaZK5GW+dlVMqVl SCdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1m0RqvaU8CcvLjEgPz7d1jceF1TiMS+vA+25fd7T9/E=; b=aLamOOXbPMZ6RygeKWhwe8ZLiRAMksspNFhuNzwN0LV+mSkOzQ9bdQseUdv6A9+sQj 4gI24mKhGEgQ2dA4aVtd7qqVVSsjzjf/4GorsuyJVKsPKcfMG/3yN7Wv2c+rRT0rr62D Qpj/s+qEVcePdb7lBK8I24BN5Euj4uvEfv5uZVtcyOsa+vRhA/SQQg2xCJjr6FWqe+oZ lqENnzDRu1bl6WNwU4behmvw7c16HcmEyiH0soR5lMbzoDy2II+nr+ZmE80DKhlJmaQN xFbEMrHNxQ1qUAwmNWi9eYHbbdwcQkxHf3sxiZvPsHjQHn9FFt3EiGaizZkXBp8sklw1 1RCg== X-Gm-Message-State: ACrzQf15fQirODQZDebZovc87eMfkE/HWjYP5m+bAfqrEBXacdaG1ZZf CXp4LgCHkNFs0mfELwDEM+U= X-Received: by 2002:a05:6871:28e:b0:136:4f44:78a7 with SMTP id i14-20020a056871028e00b001364f4478a7mr11526358oae.264.1665876856020; Sat, 15 Oct 2022 16:34:16 -0700 (PDT) Received: from bebop.lan (2603-8080-2704-6601-b457-170a-9e05-cc6d.res6.spectrum.com. [2603:8080:2704:6601:b457:170a:9e05:cc6d]) by smtp.gmail.com with ESMTPSA id w3-20020a4adec3000000b004808e0d8467sm2653858oou.2.2022.10.15.16.34.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 16:34:15 -0700 (PDT) From: George Hilliard To: Clemens Ladisch , Takashi Sakamoto Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, George Hilliard Subject: [PATCH 1/2] sound: dice: Fix "Firestudio" typo Date: Sat, 15 Oct 2022 18:33:29 -0500 Message-Id: <20221015233330.8679-2-thirtythreeforty@gmail.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221015233330.8679-1-thirtythreeforty@gmail.com> References: <20221015233330.8679-1-thirtythreeforty@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746800575257169180?= X-GMAIL-MSGID: =?utf-8?q?1746800575257169180?= No functionality change, just a small cleanup before adding the Firestudio Mobile. Signed-off-by: George Hilliard Acked-by: Takashi Sakamoto --- sound/firewire/dice/dice-presonus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/firewire/dice/dice-presonus.c b/sound/firewire/dice/dice-presonus.c index 967cc3119a64..c85178e64667 100644 --- a/sound/firewire/dice/dice-presonus.c +++ b/sound/firewire/dice/dice-presonus.c @@ -11,7 +11,7 @@ struct dice_presonus_spec { bool has_midi; }; -static const struct dice_presonus_spec dice_presonus_firesutio = { +static const struct dice_presonus_spec dice_presonus_firestudio = { .tx_pcm_chs = {{16, 16, 0}, {10, 2, 0} }, .rx_pcm_chs = {{16, 16, 0}, {10, 2, 0} }, .has_midi = true, @@ -23,7 +23,7 @@ int snd_dice_detect_presonus_formats(struct snd_dice *dice) u32 model_id; const struct dice_presonus_spec *spec; } *entry, entries[] = { - {0x000008, &dice_presonus_firesutio}, + {0x000008, &dice_presonus_firestudio}, }; struct fw_csr_iterator it; int key, val, model_id; From patchwork Sat Oct 15 23:33:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Hilliard X-Patchwork-Id: 2974 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp825187wrs; Sat, 15 Oct 2022 17:16:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7s2Xjv9hwPtu46heNPUEGWXoI7Wq8YGmIq5Hhu5BIuK+N6m2pRiYb4Yb165Mf+W4kY5ErF X-Received: by 2002:a17:90a:7849:b0:20d:2d54:65d with SMTP id y9-20020a17090a784900b0020d2d54065dmr25350304pjl.219.1665879374693; Sat, 15 Oct 2022 17:16:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665879374; cv=none; d=google.com; s=arc-20160816; b=XIFYpc7NgrgwGcuwNbQ9i59VvlvYBySgzgVXBDP3EflDvY+QiEH1MJSZCt8q+IRBWw m+Gi6XmMCX77B6Pz7jXGLWc3ITbCtYdo4jncvhWmuo7xVUNl2r1H5LlXkLSe8VH1KgL5 FMkzxFpAHnvZ+umta4qdDvjg0+oMT821ej1G3nCTl0Reiv/jBcl3KQ//HAG+Hx7WpzNn HllXiUQubXwVGb/dlPDqF0fWfQtgrI4jnzu7G3g/oLb1dRNgbdikcDq1+vkCBGtzUS9t wnira04EDOpYXXx7P2RlfNLawebQmTx1FOUzABkEE5uhM5cTCeRRGcDw3xL0ARIy3z+i yF0Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JPQelZHWBax8evlJitFJezC2LMaDni97t0+7jQuxYBI=; b=IIeTleE3nvSXk0ZAQSISnjitcP7XMVaIQ0ZOeArgBrX/jF0XqdxGR2wQwbDPGdCXUa ivjPmyHaRlmeekfqQdwO2CmuMVx+yI6/d+CUZCN0rEbFpXPEs7kFqQg/Q314HSAmJf9B sQ6U8XcBE0qmeB2zQN6JU+wmOOoY/Oc8c3NB2AG/4ioHozoJfQJtRNMIG84gFNtEuig2 IRK++i7afuojO2RBDPeFJfiRniR2u67R5AUigJZt86hYNTUlp/S/cgm1JnZJsojZGKUJ ri69i5eidlQp7uCgoS673kQZlCisoGVvbwPlGABrYkE2O8S1u3Lrnp7a/6nsh8n/05Fg xxaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HOrXZaMA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d21-20020a170902aa9500b00179eb71c71csi6714700plr.198.2022.10.15.17.16.01; Sat, 15 Oct 2022 17:16:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HOrXZaMA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229648AbiJOXee (ORCPT + 99 others); Sat, 15 Oct 2022 19:34:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229651AbiJOXeb (ORCPT ); Sat, 15 Oct 2022 19:34:31 -0400 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D36625DF for ; Sat, 15 Oct 2022 16:34:24 -0700 (PDT) Received: by mail-oi1-x231.google.com with SMTP id p127so8030588oih.9 for ; Sat, 15 Oct 2022 16:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JPQelZHWBax8evlJitFJezC2LMaDni97t0+7jQuxYBI=; b=HOrXZaMALQvNg42ExZNKSVde7MtDk23foFTZBE9YpthRYiIX85Sv2QBKRqQChKTcvn 8FVlW42HHGxgCv7Dm0TI8Z0ua1sjQwGpw7ZBBc2Qp6oOSSQjjW3YpPM8iiqxL7E0P5MQ HdK3C17/7t1lkcMpheZTiYHP5fAOUDMplxFQjDm/qhzcxy3N/kyB7X4YinQuPujtsSPk thMljsu+4laXO/oeXLb6w4UoJvbnm9feoAbIPMZ4vcGtGy0E5WbN95cfc91Hhocz81gY DmVjrgPFTvOdIBOzavtLGiOw+RD3GB4zvzQtv70r9niAqFIfYjNdJDybJ4ueQnSMVfh6 sXrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JPQelZHWBax8evlJitFJezC2LMaDni97t0+7jQuxYBI=; b=HUGq5nKwBH7x6CvXmwAFJ8V0uvco5a1d8/kD70jLA+58nldjTzL5/MNPN4ceQZBZ3r wrk5GM/GZPV6qgZnktgQFp+xW6Qi4pj9F1UKvAXZ1izvczHzR/goMSxty8MkTYTAF1Ew 8RMu6vZXSqYK11LiCtnZIR6lyvxeMpoTBQ3Jgvp8utppEqc+bjTKj5eohhUis7S2XCMF dWkeYaYf8+fq7FnRP3+O/TSkGSprdoYwk/2+YGuVlTTy85sUL+8ZD5rcFkY1lxERgClw HZYmtB0uZQCNqqcSUiKvNBfkQQIJFV9sEKxohvB3wc5Ay6Ro6pR8cAQvW7djcCIPCsnc U5wg== X-Gm-Message-State: ACrzQf343T4OdRHu3BH451oXZMZmpbVMrJN8VrAFByk6Ut0PS+wqZMMW A+TcyqpKs0ZFWcVli2vF9M0= X-Received: by 2002:a05:6808:bcd:b0:353:d856:64db with SMTP id o13-20020a0568080bcd00b00353d85664dbmr2005727oik.168.1665876863699; Sat, 15 Oct 2022 16:34:23 -0700 (PDT) Received: from bebop.lan (2603-8080-2704-6601-b457-170a-9e05-cc6d.res6.spectrum.com. [2603:8080:2704:6601:b457:170a:9e05:cc6d]) by smtp.gmail.com with ESMTPSA id w3-20020a4adec3000000b004808e0d8467sm2653858oou.2.2022.10.15.16.34.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Oct 2022 16:34:23 -0700 (PDT) From: George Hilliard To: Clemens Ladisch , Takashi Sakamoto Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, George Hilliard Subject: [PATCH 2/2] sound: dice: Add support for Firestudio Mobile Date: Sat, 15 Oct 2022 18:33:30 -0500 Message-Id: <20221015233330.8679-3-thirtythreeforty@gmail.com> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221015233330.8679-1-thirtythreeforty@gmail.com> References: <20221015233330.8679-1-thirtythreeforty@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746801131336672552?= X-GMAIL-MSGID: =?utf-8?q?1746801131336672552?= This device is of the same vintage as the already-supported FireStudio, but with a reduced input (10) and output (6) count. Add a configuration block for it. $ crpp < /sys/bus/firewire/devices/fw1/config_rom ROM header and bus information block --------------------------------------------------- 400 0404bc6a bus_info_length 4, crc_length 4, crc 48234 404 31333934 bus_name "1394" 408 e0008102 irmc 1, cmc 1, isc 1, bmc 0, cyc_clk_acc 0, max_rec 8 (512) 40c 000a9204 company_id 000a92 | Presonus Corporation 410 047da647 device_id 04047da647 | EUI-64 000a9204047da647 root directory --------------------------------------------------- 414 0006147f directory_length 6, crc 5247 418 03000a92 vendor: Presonus Corporation 41c 8100000a --> descriptor leaf at 444 420 17000011 model 424 8100000e --> descriptor leaf at 45c 428 0c0087c0 node capabilities per IEEE 1394 42c d1000001 --> unit directory at 430 unit directory at 430 --------------------------------------------------- 430 00048030 directory_length 4, crc 32816 434 12000a92 specifier id: Presonus Corporation 438 13000001 version 43c 17000011 model 440 8100000f --> descriptor leaf at 47c descriptor leaf at 444 --------------------------------------------------- 444 00057914 leaf_length 5, crc 30996 448 00000000 textual descriptor 44c 00000000 minimal ASCII 450 50726553 "PreS" 454 6f6e7573 "onus" 458 00000000 descriptor leaf at 45c --------------------------------------------------- 45c 000792a9 leaf_length 7, crc 37545 460 00000000 textual descriptor 464 00000000 minimal ASCII 468 46495245 "FIRE" 46c 53545544 "STUD" 470 494f5f4d "IO_M" 474 4f42494c "OBIL" 478 45000000 "E" descriptor leaf at 47c --------------------------------------------------- 47c 000792a9 leaf_length 7, crc 37545 480 00000000 textual descriptor 484 00000000 minimal ASCII 488 46495245 "FIRE" 48c 53545544 "STUD" 490 494f5f4d "IO_M" 494 4f42494c "OBIL" 498 45000000 "E" Tested-by: George Hilliard Signed-off-by: George Hilliard --- sound/firewire/dice/dice-presonus.c | 7 +++++++ sound/firewire/dice/dice.c | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/sound/firewire/dice/dice-presonus.c b/sound/firewire/dice/dice-presonus.c index c85178e64667..8b62495846f1 100644 --- a/sound/firewire/dice/dice-presonus.c +++ b/sound/firewire/dice/dice-presonus.c @@ -17,6 +17,12 @@ static const struct dice_presonus_spec dice_presonus_firestudio = { .has_midi = true, }; +static const struct dice_presonus_spec dice_presonus_firestudio_mobile = { + .tx_pcm_chs = {{10, 10, 0}, {0, 0, 0} }, + .rx_pcm_chs = {{ 6, 6, 0}, {0, 0, 0} }, + .has_midi = true, +}; + int snd_dice_detect_presonus_formats(struct snd_dice *dice) { static const struct { @@ -24,6 +30,7 @@ int snd_dice_detect_presonus_formats(struct snd_dice *dice) const struct dice_presonus_spec *spec; } *entry, entries[] = { {0x000008, &dice_presonus_firestudio}, + {0x000011, &dice_presonus_firestudio_mobile}, }; struct fw_csr_iterator it; int key, val, model_id; diff --git a/sound/firewire/dice/dice.c b/sound/firewire/dice/dice.c index f75902bc8e74..f31ea2bb7766 100644 --- a/sound/firewire/dice/dice.c +++ b/sound/firewire/dice/dice.c @@ -374,6 +374,14 @@ static const struct ieee1394_device_id dice_id_table[] = { .model_id = 0x000008, .driver_data = (kernel_ulong_t)snd_dice_detect_presonus_formats, }, + // Presonus FireStudio Mobile. + { + .match_flags = IEEE1394_MATCH_VENDOR_ID | + IEEE1394_MATCH_MODEL_ID, + .vendor_id = OUI_PRESONUS, + .model_id = 0x000011, + .driver_data = (kernel_ulong_t)snd_dice_detect_presonus_formats, + }, // Lexicon I-ONYX FW810S. { .match_flags = IEEE1394_MATCH_VENDOR_ID |