Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4134902imm; Mon, 30 Jul 2018 09:12:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeLZiTRMupFOZGHa3pxFBCaNzmQsLKTcKBukh+P4QJQ6L8stTDrW/xESVIqwjpIzQSHDSVc X-Received: by 2002:a63:fb07:: with SMTP id o7-v6mr17267655pgh.333.1532967164582; Mon, 30 Jul 2018 09:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532967164; cv=none; d=google.com; s=arc-20160816; b=TY6GBHjK90owjpUI5kaViMpYNfJMyjBbTL1UFJDecpa8SgwJzDN2+SJe9AoGpEY+Rd hzOG8jbZqOxfvGQnYR9n/7980EDFX8XKXPL3P7LmCLYRMQzcLxvIdNHLBpTCHc5mnYNI QeZziCXyw6e9/qR4Vyh8IhsiDUSNbteTxbPDzu559Gp1EavQ1A4sV7ru7h/LvGybegnm 6Hr+Fn2ECmGEYG5WZt0d9Izi5DSRtjcE7N9LkmnTg9qtG5TGf9zVnjXw/CaSXRTvabyD qO03/zHLFAhNGUrnH/WDqvMtIicylY0DZlb2HZopQkVX23QFZHgdcMie9+gHHjaLk/Mj SNOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:subject:cc:to:from:message-id:date :arc-authentication-results; bh=2rIj0TbKnPa6K4CA8PUN+BZ9PJT/dUwb/dE7nVx7NOU=; b=si+9RCkbcCyubkDxOe3BnnM2W6l7DSneRvisScczRxFM1pZxPdF0YQx62+y2GwU3Sq kW8vY8Wt3hG7hFVy4Ma6ys2TuCNYp3abgaI7tHMeuWY8i5YSsc2Y8GLjPH+7RAS/xQkK MwyHHEAIJqmzXUURT8s6mcs3MLOjI8MH2jfK4bcTXwcQJqgGcGII+0+URXCyUwWnOtYd oZiv409TqcYdRfqVvCcyBw+tjVHDp6vS6Uo31vJhaKDKlgN2lok25mWCUYD5soOF1SiW B1O5rvyPfUrYXacgWCCYQimPXp0RRsYdLzOBltEKbaVExgd8U78xWSCW1LvdRp9oshBV GnDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18-v6si10386977pfn.158.2018.07.30.09.12.30; Mon, 30 Jul 2018 09:12:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731597AbeG3RqS (ORCPT + 99 others); Mon, 30 Jul 2018 13:46:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:54398 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726784AbeG3RqS (ORCPT ); Mon, 30 Jul 2018 13:46:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3A4FEAE8E; Mon, 30 Jul 2018 16:10:37 +0000 (UTC) Date: Mon, 30 Jul 2018 18:10:37 +0200 Message-ID: From: Takashi Iwai To: Jorge Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] ALSA: usb-audio: Initial Power Domain support In-Reply-To: References: <20180719112215.4219-1-jorge.sanjuan@codethink.co.uk> <20180730092336.18741-1-jorge.sanjuan@codethink.co.uk> <20180730092336.18741-2-jorge.sanjuan@codethink.co.uk> 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/26 (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 Mon, 30 Jul 2018 18:05:47 +0200, Jorge wrote: > > > > On 30/07/18 14:03, Takashi Iwai wrote: > > On Mon, 30 Jul 2018 11:23:33 +0200, > > Jorge Sanjuan wrote: > >> > >> diff --git a/include/linux/usb/audio-v3.h b/include/linux/usb/audio-v3.h > >> index 334bfa6dfb47..786e5939d831 100644 > >> --- a/include/linux/usb/audio-v3.h > >> +++ b/include/linux/usb/audio-v3.h > >> @@ -447,4 +447,8 @@ struct uac3_interrupt_data_msg { > >> /* BADD sample rate is always fixed to 48kHz */ > >> #define UAC3_BADD_SAMPLING_RATE 48000 > >> > >> +/* BADD power domains recovery times */ > >> +#define UAC3_BADD_PD_RECOVER_D1D0 0x0258 > >> +#define UAC3_BADD_PD_RECOVER_D2D0 0x1770 > > > > Please put the unit for these values. I guess they don't need to be > > hex? > > > > Hi! > > The BADD spec defines these inferred values as hex (see section 6.2.2.13 > of the spec). Should we keep them as per spec to avoid confusion? I'll > update comment there with the units (50 us increments). Well, if they were defined in hex, it makes sense to keep the raw values as is. But it'd be also helpful to give a comment showing the actual usecs. thanks, Takashi