// SPDX-License-Identifier: GPL-2.01// dice-harman.c - a part of driver for DICE based devices2//3// Copyright (c) 2021 Takashi Sakamoto45#include "dice.h"67int snd_dice_detect_harman_formats(struct snd_dice *dice)8{9int i;1011// Lexicon I-ONYX FW810s supports sampling transfer frequency up to12// 96.0 kHz, 12 PCM channels and 1 MIDI channel in its first tx stream13// , 10 PCM channels and 1 MIDI channel in its first rx stream for all14// of the frequencies.15for (i = 0; i < 2; ++i) {16dice->tx_pcm_chs[0][i] = 12;17dice->tx_midi_ports[0] = 1;18dice->rx_pcm_chs[0][i] = 10;19dice->rx_midi_ports[0] = 1;20}2122return 0;23}242526