Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3546179pxj; Mon, 24 May 2021 09:05:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7U24862pKW9U13IQrkYQNhNzniyqSQhLK3t2Kkk+FATSsV3s1eHfDsY2DmnIW2VVZlYWp X-Received: by 2002:a05:6e02:1708:: with SMTP id u8mr19473173ill.188.1621872335236; Mon, 24 May 2021 09:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621872335; cv=none; d=google.com; s=arc-20160816; b=hebM6GXrnIl+AepsYkI/Mr8/P5WyJhm/qqopVqp2aPKhhDPWo3wVXgUo0MzxcAMDSH qxnhdx4Jr5FEFJwHZUpbgzd+5okcP/80rWtDsm3mrsHDNkS+YlPNpiYxRHxbVtGzmaxf 4vcpL1vecvyWcqDCCw6eQ89BAsjpILhu7OHgvvlrYoLIzqmF36ML+/abvvOueBswyomX fxbPoPcF5PeCEbWMws7GVW3y3Lm+NuttcsODG8AfPCSojcL6cfVrWF4gObH3UwYUKI4d UariYsqBEYOOLdefP7dH8OpX34IkWH3nE9OsFnVRQuER1IPouYdPkzqSHrg0iYNk55qW eRrg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WCVp5Sd98nhWqpXMlLc9fw6ua/0OlMDyQBYX7wst2Bo=; b=oO5igx1wQQtmA1x/fTAyVa4RLnNMqllqiwHkclBLdSshWI4I+PKO55BI1IkF4+SbgP 6QqRWg+3zOUtMBkH55YFZY6eyWLd6+FrTluLNEM+rZ0fss3ag4cmZgawP+VW0JIGShxs FnGLwJ4zGs9c6+E46xAzgf7uVXg9oUj3gDcsW76e27ULFyruIflOMRnI6RFqQQrt1eS9 1BUQ6U1hdy6kgciHatYP26T5x1Kg++vDCjlpAWM9VAn0uWT8zLB7Iy4rS+I+sojN41Qv U3zwuxKh3MQEZLFFHWz4RRzDrFDbtNMxX+lY16kXvAN35QHGUE8NnxLlSYN90DM/x7aE Hfwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="rq/UHO10"; 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=pass (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 d25si13526717jam.64.2021.05.24.09.05.16; Mon, 24 May 2021 09:05:35 -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=@linuxfoundation.org header.s=korg header.b="rq/UHO10"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237024AbhEXQFF (ORCPT + 99 others); Mon, 24 May 2021 12:05:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:42580 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234920AbhEXP6X (ORCPT ); Mon, 24 May 2021 11:58:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EE7CE61459; Mon, 24 May 2021 15:44:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621871057; bh=6uPdLOtWDwPTg23SaBpdldN7cAfKsfp4eOLSq3ZdXgY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rq/UHO10Mi+Z7IO+Syzw8AVsbBwKzpwrUhy1fvwkNJuim1IrvD1Y9ojhdVMRdDsod IFIPLmcXS/D2DCyqdGxDtK7SZ8p+kDdZi5EMgTTvU2tfuSHKjOAz/xkp5HjGPvfnyG Lm+gEyF6aFSsGYL1NG6Zd71sL9qRCsqcPTp8MVAg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Sakamoto , Takashi Iwai Subject: [PATCH 5.12 046/127] ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26 Date: Mon, 24 May 2021 17:26:03 +0200 Message-Id: <20210524152336.400366751@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210524152334.857620285@linuxfoundation.org> References: <20210524152334.857620285@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Takashi Sakamoto commit 1b6604896e78969baffc1b6cc6bc175f95929ac4 upstream. Alesis iO 26 FireWire has two pairs of digital optical interface. It delivers PCM frames from the interfaces by second isochronous packet streaming. Although both of the interfaces are available at 44.1/48.0 kHz, first one of them is only available at 88.2/96.0 kHz. It reduces the number of PCM samples to 4 in Multi Bit Linear Audio data channel of data blocks on the second isochronous packet streaming. This commit fixes hardcoded stream formats. Cc: Fixes: 28b208f600a3 ("ALSA: dice: add parameters of stream formats for models produced by Alesis") Signed-off-by: Takashi Sakamoto Link: https://lore.kernel.org/r/20210513125652.110249-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/firewire/dice/dice-alesis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/sound/firewire/dice/dice-alesis.c +++ b/sound/firewire/dice/dice-alesis.c @@ -16,7 +16,7 @@ alesis_io14_tx_pcm_chs[MAX_STREAMS][SND_ static const unsigned int alesis_io26_tx_pcm_chs[MAX_STREAMS][SND_DICE_RATE_MODE_COUNT] = { {10, 10, 4}, /* Tx0 = Analog + S/PDIF. */ - {16, 8, 0}, /* Tx1 = ADAT1 + ADAT2. */ + {16, 4, 0}, /* Tx1 = ADAT1 + ADAT2 (available at low rate). */ }; int snd_dice_detect_alesis_formats(struct snd_dice *dice)