From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756557AbdLPD0D (ORCPT ); Fri, 15 Dec 2017 22:26:03 -0500 Received: from mail-io0-f194.google.com ([209.85.223.194]:36622 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756038AbdLPDZ6 (ORCPT ); Fri, 15 Dec 2017 22:25:58 -0500 X-Google-Smtp-Source: ACJfBovCwezE1t2iLNt4KWiIW5cP4rkzlgE2JIgUp9GGHfW78d2nextptijU1ckC6tEOseW+tC0+vw== Date: Fri, 15 Dec 2017 19:25:54 -0800 From: Brian Norris To: Jeffy Chen Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Heiko Stuebner , Liam Girdwood , Mark Brown , Takashi Iwai , Jaroslav Kysela , linux-rockchip@lists.infradead.org, mka@chromium.org, linux-arm-kernel@lists.infradead.org, cychiang@google.com, Enric Balletbo i Serra , Doug Anderson Subject: Re: [PATCH] ASoC: rockchip: Use dummy_dai for rt5514 dsp dailink Message-ID: <20171216032552.GA220745@google.com> References: <20171121082517.17233-1-jeffy.chen@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171121082517.17233-1-jeffy.chen@rock-chips.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Nov 21, 2017 at 04:25:17PM +0800, Jeffy Chen wrote: > The rt5514 dsp captures pcm data through spi directly, so we should not > use rockchip-i2s as it's cpu dai like other codecs. > > Use dummy_dai for rt5514 dsp dailink to make voice wakeup work again. > > Reported-by: Jimmy Cheng-Yi Chiang > Fixes: (72cfb0f20c75 ASoC: rockchip: Use codec of_node and dai_name for rt5514 dsp) > Signed-off-by: Jeffy Chen I didn't review this closely (and I don't know ASoC that well), but this does fix regressions I've seen on 4.15 RCs, where (a) the rt5514 DAI link doesn't get set up (b) the rt5514 *always* causes my device to wake up, because we arm the wakeup IRQ even though we never actually configured the DSP (c) there are system crashes on resume because the rt5514-spi driver assumes that the DAI link was correctly configured (that's the subject of another patch I sent [1] I believe this was working fine on 4.14? At least, I know (b) didn't happen, and I'm not sure about (a). (c) is a new issue in 4.15-rc1. Anyway, that's all to say: Tested-by: Brian Norris on the "kevin" Chromebook (Samsung Chromebook Plus). I also suspect this might be regression-fixing material, for 4.15. Or if not, at least something like patch [1] should be. Thanks, Brian [1] https://patchwork.kernel.org/patch/10116761/ [PATCH for-4.15] ASoC: rt5514: don't assume rt5514 component was "attached"