Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp110067pxt; Thu, 5 Aug 2021 19:49:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynAB8XundIVSiDij1D91yxNawNlw1dRVwQ/r5kkXkfPZCuZfKU4nYGSqk6GeOeUNqKBi6w X-Received: by 2002:aa7:da4f:: with SMTP id w15mr10302521eds.9.1628218156920; Thu, 05 Aug 2021 19:49:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628218156; cv=none; d=google.com; s=arc-20160816; b=KPmLcDccvjBvRV6yBR226LQL7ESJRKvRVgHPkdHPHYTjxAKysqBQjbmErqvyoEHzLl 2gQMnqUIqvpn1wnzK1uAhhkQ4Jl2N5S65Eh1Ye9AGeExvf2rB/4muyAbu7krpvlGrpEe tK/7GSzQrmgRAn+E5Nqdqwdh2EfArEJflhn1PI1EROZ4fdXMQ0mbE4mxhvkS2Mm6zavh ltZVsLy5aCAOTQk0Y7eqkiyOXTmRJGzUsOHK29WUXtElgY+wGz0QMkzIg1q110bAOsXW qgMGCnHer19+7ubRxuaJ23gUTKHhs2bGHmJNYuYS1Xbr7gwTPU2AQRojo/SEscNXtGyx yFDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Zdjxi4Fa3+ypzllJ/AyX6+tXVRJghFv1IfDBReY0s4E=; b=Ix+/D8tZLxgCXGkzPnJ0F2Oy/I/wUdod3amzRaOQAPwlJHtTtqWvxKKDKCu+jaeb2O xFxoISn4fochy500/RmMmpV206qX6f3oNTU/0FrhjVCRtehKbSiYPJBpWOans9qTewrv hdNtHyczIutJWO/KXKLmREsHHynuvXWSmRGVZjixtow2GohsiiJJyljpi5ERA0cpgJRz XO5ws1JN6ADaG1DUm9LVFAFcFHyngzk0KJHWLVpON/Ch3ACgOe38bCv6AwFCi1l7PMsF 1iJ4hurVjovausDZPyRTh5+N1+jbgGJv7NNd64Omr/v/xwW8cmw5n8freQ/GBtyHGn58 8K1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MjDYXRch; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u26si6863080edy.67.2021.08.05.19.48.49; Thu, 05 Aug 2021 19:49:16 -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=@gmail.com header.s=20161025 header.b=MjDYXRch; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242637AbhHFBEH (ORCPT + 99 others); Thu, 5 Aug 2021 21:04:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233095AbhHFBEE (ORCPT ); Thu, 5 Aug 2021 21:04:04 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E8C6C0613D5 for ; Thu, 5 Aug 2021 18:03:49 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id c6so1033354qtv.5 for ; Thu, 05 Aug 2021 18:03:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zdjxi4Fa3+ypzllJ/AyX6+tXVRJghFv1IfDBReY0s4E=; b=MjDYXRchkMHR1K5FB/rmmwE8O1/Ig0ZpF2+r6THxJtWckbXWrh8lBX57SAvayQHw/X P84k1I9/gj+P+RSPgR/1FmAPof0p1wPjgKcWI34IJFAVrGO7V5ozPkk7vfPUqWi0yoO6 IS1uJtTDqV1jipDSFiGGs3hmV/khlOtPZGReZsrRiqrK78uWc8Ve46v5qGkAka8R+rD0 0Xv8SirP0FGqBBDgr8CibvMdH/jCVQn65oStCqnGImutvKiu1l4VN+BwWWpumB7nONy4 lTpyew+8vYjn3VHcPR/PFegdxeKwHbyEhuCpEEg5OiZMhqUE/NZx1MB/9Jdb56zjLcGR +w2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zdjxi4Fa3+ypzllJ/AyX6+tXVRJghFv1IfDBReY0s4E=; b=W84Q4AFz9IE0eP+GFVe5dzdnQrO1ahp99N/WXE68GdIRcMHc17YO1mDBs5WKJca1JH XZnC6jgNV+UAzirfW5nhQn2wiNNDoRgfIwIRyXIxqDZZhaEdD/lo0qQidDmVLs8JKlv6 x8D07FT8HHOP+jRRwn45dTBZ3cVI1J3tR3ZbeKA9rq2a8zd1oHNYZN9kbZpKiD54yZZV dcgUYCMtRR1FB31TXtv2ZtJX1X5yEfnXHMKGhViMvYLWEEXK90WsWR7sGWsnTLvyR00B K23AV3+ZNqQP6b8nQGH3o3mjPzufkmP/zchixt7sLTOIEFIBns57UX2P2Xbl90mg4Mxo 9btw== X-Gm-Message-State: AOAM5315EG92Tkxat9CMw/NNCpZbmgX1b+QXuZoVXe6Gs6BZmlIR465X Pb7ffBJd6CQ2InOnmCDq2EeWb5A/hoxw01KW7RI= X-Received: by 2002:ac8:5a96:: with SMTP id c22mr6804098qtc.229.1628211828611; Thu, 05 Aug 2021 18:03:48 -0700 (PDT) MIME-Version: 1.0 References: <20210805075401.21170-1-chihhao.chen@mediatek.com> In-Reply-To: From: Geraldo Nascimento Date: Thu, 5 Aug 2021 22:03:39 +0000 Message-ID: Subject: Re: [PATCH] ALSA: usb-audio: fix incorrect clock source setting To: chihhao chen Cc: alsa-devel@alsa-project.org, damien@zamaudio.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com, tiwai@suse.com, Takashi Iwai , wsd_upstream@mediatek.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chihhao Chen, Since you're the one with the hardware I believe the bug report for Samsung should be done by your side. Maybe Takashi Iwai has somebody in mind that develops audio code for Samsung and has already contributed to ALSA? It's best if Takashi Iwai helps you out, and you take the shortcut to the corporate structure, otherwise the importance of our findings may be underestimated. Chihhao Chen, please include the following link in your bug report to Samsung: https://lore.kernel.org/patchwork/patch/1466711/ I'd politely remind them that the headset requires a very specific quirk to work with recent Linux, that the patch has entered Linux-Next however it's a workaround because the headset is apparently breaking UAC compliance when it sets both Clock Selectors at the same time, regardless of what Clock Selector we tell it to set via USB Control Message. But you're free to do as you wish. I'm sure you'll be fine. Good luck, Geraldo Nascimento On Thu, Aug 5, 2021 at 11:31 PM Geraldo Nascimento wrote: > > Em Qui, 5 de ago de 2021 12:50, Geraldo Nascimento escreveu: >> >> > There is no noise and I think this should be a firmware bug. > > > The fact that there's no noise during the echo test itself doesn't mean it's not a firmware bug. > > It may just mean the MIC is able to support both 48KHz and 96KHz. > > Because from the log we see both Clock Selectors end up selected to pin 1. > > Thank you, > Geraldo Nascimento