Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3539148ybt; Tue, 30 Jun 2020 05:33:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQsequ8G0+jK5qOe3gRTg7ChcOFy18DmZ7ZWT6mIzfJzGB1Ga3AszpvWrA1/njhwU10zMz X-Received: by 2002:a50:fd12:: with SMTP id i18mr23263046eds.371.1593520382298; Tue, 30 Jun 2020 05:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593520382; cv=none; d=google.com; s=arc-20160816; b=Si5wVLGX7IlgHQ9loBSj74LPt6h7R2YvRCZfvYVY8i9tU7e5nxnU9VgNDLNWo4mknY lkipQCrFjSuluJ/eal25CAiUCdHT8AcN9n5opj4pILGaab3jIK7XGQB2vuaorcW3KW99 zGZwvzgcBm6okDihpjGkufccGpViwe9qnJYdbmXkK+wrUjxAECCYiNmzVRCiJYFxC/w1 bxYM1QFpYtM26GhTJOGoItsd7FNMzxsHrO51ONtrakSU7wF2YwvY0x6FRz1V4guviTtL bE8I6sNkm2nXUZBzyycU/jUl0znBWJUKntl1iPzOTXQUzWWQf//i1Iv4GMZ0J5C6YqLJ iYBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=DKp9Nig/j/7keZ9L6sA0WoP4aqa2toVj2wDOC+5WIA8=; b=darx5XfpWFLr5roZ1EC+8At+GNdaeHA24mAbpltXzN6Jcppoo8+ZsXq0fgBUg7cxSy Rly58euHokQCUQ6qyFRryqaz+GG2p7g/EDxYtvwf0WJtTjeaXzMXCEayMvklqLyTnAjj jcXg/IdM2GuXzmiyNecqjU2ckTxk2+h127D7sCNRmI06J66lXdFX6meH9GxuC7O/SOdv y2R5rHasVYVgs9TfSBboaDbAaLpq1ow7eDEeVik2Fys2f1xdjgQ+m6NZsVBw1ZykvDb1 iBrqs+/TPsIbLWRVwaqD/frwbrQfVz2hJvshw/8zMAoLSaWTfjkg3wN0hTz5qar4RGFr HJ4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=TkNiPKMZ; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si1586782eje.309.2020.06.30.05.32.38; Tue, 30 Jun 2020 05:33:02 -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=@chromium.org header.s=google header.b=TkNiPKMZ; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387495AbgF3MZl (ORCPT + 99 others); Tue, 30 Jun 2020 08:25:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387479AbgF3MZk (ORCPT ); Tue, 30 Jun 2020 08:25:40 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 412C4C061755 for ; Tue, 30 Jun 2020 05:25:40 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id r12so19861650wrj.13 for ; Tue, 30 Jun 2020 05:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=DKp9Nig/j/7keZ9L6sA0WoP4aqa2toVj2wDOC+5WIA8=; b=TkNiPKMZKSQij63jXXSo1yraoN+I7fpF5Kox95iPN+LtbBZ6DhFHKSiCRbeXwLtuMN 02dj/nPJtU9uMmZhmZ2DMnPWHLprmJieARM0boueH30dW0b/jfZSYoGlbCFE/XBzQTZm Gx1L55p6c+3kPEkXPXV7/rVe2AnU9EgX1EUt0= 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:content-transfer-encoding; bh=DKp9Nig/j/7keZ9L6sA0WoP4aqa2toVj2wDOC+5WIA8=; b=WPyPYKhKzNDZcyae2N+wdigcbhUZPxu+g10D7yJTJZ+k8b0yzo1+C3tbSwwKARi+Qt uhx7+RLpN+ZgU2pw+JKvBon7wfThtAyl/NR+9xfI3GHH2SUXQ1phLBb3v7N7/I/Hv7lT PRbv54Cgo3Dvm6s3eI2UA2Ipo1deGGkBu3l9XQoGlyrszYXYWvTkuuBHiIPU/AbImctG Z4EiVvajPZoO+OC+fQJ3ZIcFl3hWNv3qS6TTSiv/BfHxE6uU2XsDo2hFSbRRg7/eZmPn 5Kc2OK0UtBezYbXctyqvrN8eEpN1JTlko+coeoftO4noLrtxgFREwcd1jufkqzrRm+k+ LSrQ== X-Gm-Message-State: AOAM533n3ODXkP2gVrNfSCrNXy0odnPMZb3S1k3YEaBkJks7NsBRVmoo 9LmzMvjKEqwdjhJx18SSnbkxqlVOuBGli9y/UBEzCQ== X-Received: by 2002:a5d:4002:: with SMTP id n2mr22955538wrp.255.1593519938980; Tue, 30 Jun 2020 05:25:38 -0700 (PDT) MIME-Version: 1.0 References: <20200630091615.4020059-1-yuhsuan@chromium.org> <20200630104047.GD5272@sirena.org.uk> In-Reply-To: <20200630104047.GD5272@sirena.org.uk> From: Yu-Hsuan Hsu Date: Tue, 30 Jun 2020 20:25:28 +0800 Message-ID: Subject: Re: [PATCH] ASoC: rockchip: add format and rate constraints on rk3399 To: Mark Brown Cc: linux-kernel@vger.kernel.org, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Heiko Stuebner , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Cheng-Yi Chiang , Tzung-Bi Shih Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Mark Brown =E6=96=BC 2020=E5=B9=B46=E6=9C=8830=E6=97= =A5 =E9=80=B1=E4=BA=8C =E4=B8=8B=E5=8D=886:40=E5=AF=AB=E9=81=93=EF=BC=9A > > On Tue, Jun 30, 2020 at 05:16:15PM +0800, Yu-Hsuan Hsu wrote: > > S8 and S24 formats does not work on this machine driver so force to use > > S16_LE instead. > > > In addition, add constraint to limit the max value of rate because the > > rate higher than 96000(172000, 192000) is not stable either. > > What is the source of these restrictions - are they due to the component > devices? If they are then the component devices ought to be setting > suitable constraints themselves. I'm not sure why it happened. But I guess it is not the issues on those components because they work normally on other machine drivers. Because this driver is old and lacks maintenance, I think we can just filter some unstable formats. Actually, those formats are very rarely used as well.