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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 E8AEDC433DF for ; Tue, 26 May 2020 07:04:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C9CA5207CB for ; Tue, 26 May 2020 07:04:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731589AbgEZHE1 (ORCPT ); Tue, 26 May 2020 03:04:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:43216 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731372AbgEZHEY (ORCPT ); Tue, 26 May 2020 03:04:24 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 59009AD76; Tue, 26 May 2020 07:04:26 +0000 (UTC) Date: Tue, 26 May 2020 09:04:22 +0200 Message-ID: From: Takashi Iwai To: Chris Chiu Cc: perex@perex.cz, tiwai@suse.com, benquike@gmail.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux@endlessm.com Subject: Re: [PATCH] ALSA: usb: mixer: volume quirk for ESS Technology Asus USB DAC In-Reply-To: <20200526062613.55401-1-chiu@endlessm.com> References: <20200526062613.55401-1-chiu@endlessm.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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 May 2020 08:26:13 +0200, Chris Chiu wrote: > > The Asus USB DAC is a USB type-C audio dongle for connecting to > the headset and headphone. The volume minimum value -23040 which > is 0xa600 in hexadecimal with the resolution value 1 indicates > this should be endianness issue caused by the firmware bug. Add > a volume quirk to fix the volume control problem. > > Also fixes this warning: > Warning! Unlikely big volume range (=23040), cval->res is probably wrong. > [5] FU [Headset Capture Volume] ch = 1, val = -23040/0/1 > Warning! Unlikely big volume range (=23040), cval->res is probably wrong. > [7] FU [Headset Playback Volume] ch = 1, val = -23040/0/1 > > Signed-off-by: Chris Chiu Applied with Cc to stable now. Thanks. Takashi