Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1420395pxj; Fri, 18 Jun 2021 06:47:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBR1cIWwgHW2dvT/7PByQoWFRT0VzOro4U/a4R1ekNdwKfcDqsnRFowQ+sfI/8kdf6JhZS X-Received: by 2002:a05:6402:51d0:: with SMTP id r16mr5300303edd.138.1624024055347; Fri, 18 Jun 2021 06:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624024055; cv=none; d=google.com; s=arc-20160816; b=Sbf/oKJpFwENd0/qZLIrgmESRGIKNc8B1xrL4ju35Lzm7XHFs2OyeiHh5MMYpGxvhB aHbxMnBXtat1jvRuYSfGrbt78gVlU9t2cNrOrUzCR8Zv+q4NRZi3l8AlV0NnQZpADJqO 7pMEfKTJCR/o3juO+seAWYDOQIVYh0plC+W0bPWM2/+wLoqE+L7UrxGyUfb/M7Xyyn+8 6XGJL1GRAg5UK6JEK3+/kgC8eqxWDm8KHM1NhG/a2gzx9NVCX4ELGckYS4PtCI/IbHuf FXwOxSt+ViXoH1U1zE3YZEe1hWgUPH9CdIXGynBGcMMN9NhiHccyIqvN2r/xZAS1+inE kACA== 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=XfNYJ+Xn+C5TMgqTnynW/kGMKelbYeX7G34ZtzwiY5Q=; b=VH3Gh8zdM7P19Y+253FulI9jvdQcKT3gVYkfRTZq9kAGLpMQsVmW2wiOo1vebVqPo8 KDH5NABaeSxcrC4xuFR8gpGWzrY0CU+fdMAGoEfs7yY3OYOIxPheckb62KgNCHskETmK mIwLgVf7tE9uSZOFYCz7cjfuSRz/vfuRK4TvOUCKmYM1P3X5Vxsw2IUidDpI1hdG3L6z xmq3g8H1Q0C7aF5VdkvQEHtweiO8gPbptM+z86UMKmqp96RhJ3ja0y9TR2blRZ8XBXNp kiaL0UGeB27JwKISJhfNFkzWWRQhKOFu6r/B6h2Iz4w1s5PQ+ZIII76EI+Oc/qR9vk8k BFIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aBPIlY3B; 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 i2si2831040ejp.119.2021.06.18.06.47.12; Fri, 18 Jun 2021 06:47:35 -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=aBPIlY3B; 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 S233846AbhFRNsF (ORCPT + 99 others); Fri, 18 Jun 2021 09:48:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229782AbhFRNsE (ORCPT ); Fri, 18 Jun 2021 09:48:04 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67696C061574 for ; Fri, 18 Jun 2021 06:45:54 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id f30so16851587lfj.1 for ; Fri, 18 Jun 2021 06:45:54 -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=XfNYJ+Xn+C5TMgqTnynW/kGMKelbYeX7G34ZtzwiY5Q=; b=aBPIlY3B3I9t/Bb6QizL4BO5Uq5daVIAP8ONYx5ejAWYGtn30nVkpE0OuIVcL86v01 OEBuLWueTYTM9LFN9UIgL9wNhfbb8ogyeyCqo8cecTttf4aS2yJ3+52ZIidumG6M8Ro4 93D97EcFwSVRDWL3NPu2KsxpdOerwF9y082vpSCcTehIxCOMzDP3stZ5VMKT4LP4eT4w 73VGEC+UfPT8whVbC4r4se+RdL+lhSgRu2z7uf5GtLcRfZkRlsIq10lauq8+jOQOUYYT dROJmsjNGNRPd0+BwK4JywdLER7UxRZscAl3t90tB7VJoMqLKO3B2Sn60BTbbXA8d6fh FDjw== 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=XfNYJ+Xn+C5TMgqTnynW/kGMKelbYeX7G34ZtzwiY5Q=; b=UVQVwdHEWg92tAzxR/JnzMkCQTcJcsdx6alj3gV5cwo0CueLoXJOkR/HTeQZUl2P6/ n0IG/JmSsufEyMZpzEQG5nKwrPpqQKr8SASVuimoibfXIwq09oOZH4aXM7dXMOeWE6cG cluZ4tjpOtyauMvtHBA/J03PsyD9jt+a94XzjAL/hN2SZXT2UMjqLWTp043KkRndPFRt n5KzZ34HhuplkOd0P90RQHeWqS17j6vIqhvq1mDFSYvH87zsCOUPJk1nqXntZYGBNtUB vDBxR7xVBQDC8gcU3ZLw8e0gXJWD4j8QtVuXudypqMVkbDTl2sXtkX5nVeAiDkiJtSHY QnZw== X-Gm-Message-State: AOAM531WpE7OvxSAsdPQ2eAPNOTqOzjvRh6Zi24nHmf8lArWcMXu58c9 xHPh4/S5VbuEdwgWvHreKj+PKjeyymlLNI5TUB0= X-Received: by 2002:ac2:4d25:: with SMTP id h5mr3212910lfk.583.1624023952748; Fri, 18 Jun 2021 06:45:52 -0700 (PDT) MIME-Version: 1.0 References: <1624019913-3380-1-git-send-email-shengjiu.wang@nxp.com> In-Reply-To: <1624019913-3380-1-git-send-email-shengjiu.wang@nxp.com> From: Fabio Estevam Date: Fri, 18 Jun 2021 10:45:41 -0300 Message-ID: Subject: Re: [PATCH v2] ASoC: fsl_xcvr: disable all interrupts when suspend happens To: Shengjiu Wang Cc: Timur Tabi , Nicolin Chen , Xiubo Li , Mark Brown , Jaroslav Kysela , Takashi Iwai , Linux-ALSA , linuxppc-dev@lists.ozlabs.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 18, 2021 at 9:57 AM Shengjiu Wang wrote: > > There is an unhandled interrupt after suspend, which cause endless > interrupt when system resume, so system may hang. > > Disable all interrupts in runtime suspend callback to avoid above > issue. > > Fixes: 28564486866f ("ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver") > Signed-off-by: Shengjiu Wang > --- > changes in v2: > - Add Fixes tag > - Add comments for the change Reviewed-by: Fabio Estevam