From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9622CC433E9 for ; Mon, 4 Jan 2021 14:26:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6DDC3207BC for ; Mon, 4 Jan 2021 14:26:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727251AbhADO0F (ORCPT ); Mon, 4 Jan 2021 09:26:05 -0500 Received: from mx2.suse.de ([195.135.220.15]:52406 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727126AbhADO0E (ORCPT ); Mon, 4 Jan 2021 09:26:04 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 40850B7A7; Mon, 4 Jan 2021 14:25:23 +0000 (UTC) Date: Mon, 04 Jan 2021 15:25:23 +0100 Message-ID: From: Takashi Iwai To: Peter Geis Cc: Michael Turquette , Stephen Boyd , Peter De Schrijver , Prashant Gaikwad , Thierry Reding , Jonathan Hunter , Jaroslav Kysela , Takashi Iwai , Sameer Pujar , Mohan Kumar , linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 0/2] fix tegra-hda on tegra30 devices In-Reply-To: <20201225012025.507803-1-pgwipeout@gmail.com> References: <20201225012025.507803-1-pgwipeout@gmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Dec 2020 02:20:24 +0100, Peter Geis wrote: > > The following patches fix tegra-hda on legacy tegra devices. > Two issues were discovered preventing tegra-hda from functioning: > The hda clocks on tegra30 were assigned to clk_m and running at too low of a rate to function. > The tegra-hda encounters an input/output error when opening a stream. > > Since the only mainline device that used tegra-hda previously was the t124, it is unknown exactly when this was broken. > Fortunately a recent patch was submitted that fixed the issue only on t194 devices. > We can apply it universally to the tegra-hda device to resolve the issues across the board. > Note that downstream devices used the spdif device instead of hda for hdmi audio. > The spdif device lacks a driver on mainline. > > Peter Geis (2): > clk: tegra30: Add hda clock default rates to clock driver > ALSA: hda/tegra: fix tegra-hda on tegra30 soc Can Nvidia people look at those? thanks, Takashi > > drivers/clk/tegra/clk-tegra30.c | 2 ++ > sound/pci/hda/hda_tegra.c | 3 +-- > 2 files changed, 3 insertions(+), 2 deletions(-) > > -- > 2.25.1 >