Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1136282ioo; Fri, 27 May 2022 02:14:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLVc/qtmIkg3UF2s43iDTGpvwHs24hln/U97G/CEpA3hySplHVSpSchnKsKTU7vB15jRo6 X-Received: by 2002:a17:907:ea1:b0:6fe:f6a5:6009 with SMTP id ho33-20020a1709070ea100b006fef6a56009mr20827034ejc.275.1653642861572; Fri, 27 May 2022 02:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653642861; cv=none; d=google.com; s=arc-20160816; b=iy+/hQ61/MIKAPH2brByOJHYye9frCliwMXGGVXeYwvrhQ1A1rAupH5cQxdhTzX6Gi r71vrkEHvASaOGRyZ6FvDxibxaafa4kKZqH8KyXaidlhKR4c38amG8jRN0H1GtNeKKJt kBO42z/8HpUFAq+3IaZQ1dpNiCzFsFFSm6ij6q18cinM0D4OjSJN6q3f2h+qyuVouQLF Fqbj5NHhWumn49+1bNhkAx69mTkEyvBo8UJjfQj0+iYwwISiONiT2JIuinkdBkMgj9NQ xiHx0DN2Q7oSkWPG2IuqjF4KHJiPLLiT6cXWqQrv6C5kOT4xGpzUFFIvcqeHbx0JVrMQ aMkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=N+a9sb4xyr+qi8RTEZxVC+qM4rBN4R20YOVvSGD6lo8=; b=c73r9BcPqwy1F09j7r8DC6NaljoprAyu4t7ykl1oHatEgYlkkkuVyI0GiwLPEm98+f H+mhVM/pzuI8ZpWrUQA7tzZnAMCVYv89zWofmZ2pXuD/qa5zShSAZBgKVdpZB0rjOOfd sE8u+1oTpkoV/hB5QNlUz5hcbIeFSiyYKfEgnJgcp9b4g0mIU07n0criQAW1YKTcmzQy mQLyc2/GaAOJsqqdBmu4xykW1fiKU2b2ho9jQHfMseqB1fXr9FiLHfZezHkCte6QsSY5 WCvS4Z04S/VA+HUHwUn23GbRKFauz1vbjSoM0FX1ELhApECAQBUPCuftJppHwt6tSZw+ Vu3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=j8PKh2u6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc4-20020a1709071c0400b006ff0be2fe87si1229694ejc.970.2022.05.27.02.13.55; Fri, 27 May 2022 02:14:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=j8PKh2u6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243147AbiE0H5y (ORCPT + 99 others); Fri, 27 May 2022 03:57:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234349AbiE0H5n (ORCPT ); Fri, 27 May 2022 03:57:43 -0400 Received: from mx0b-001ae601.pphosted.com (mx0a-001ae601.pphosted.com [67.231.149.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 703BF3136F for ; Fri, 27 May 2022 00:57:41 -0700 (PDT) Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24R6JKfu016200; Fri, 27 May 2022 02:56:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=N+a9sb4xyr+qi8RTEZxVC+qM4rBN4R20YOVvSGD6lo8=; b=j8PKh2u6yDGf2+VO5JdvM2Mt0rP0d05xL/Rmg18BbqJJyMzHXfKvbRIoesohK9khzSwp Pn1qFNa7n0noe/ZjbsCiB8Kx5Ug+XfiTjzNgSVZlDKFZh1S3gT2eLrfY3zSEfZTP9LIE lqr9k7uwL0GIoX/bGKtZuC9w0j63p70YXTvpteBkaWK+SyRM3akUw0Uv/fIxWoCAxiA6 uFD4rvrzguUGue0QRLjQWDhzaMbNIbwcyCUNi/isJEs3fxDmK6tC1VupCb1P4ffuhBxW CLUMhFoYgUhhE4sZFCNILUndvjZK5VfKtO14AejZhbaFENsHGM3/rQk5AnsEZFPI9IIW WQ== Received: from ediex01.ad.cirrus.com ([84.19.233.68]) by mx0a-001ae601.pphosted.com (PPS) with ESMTPS id 3g93u4k9ux-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 27 May 2022 02:56:25 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 27 May 2022 08:56:22 +0100 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.2375.24 via Frontend Transport; Fri, 27 May 2022 08:56:22 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id E6CCE46C; Fri, 27 May 2022 07:56:22 +0000 (UTC) Date: Fri, 27 May 2022 07:56:22 +0000 From: Charles Keepax To: Adam Ford CC: , , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Stephen Kitt , Geert Uytterhoeven , Minghao Chi , "open list:WOLFSON MICROELECTRONICS DRIVERS" , open list Subject: Re: [PATCH] ASoC: wm8962: Fix suspend while playing music Message-ID: <20220527075622.GR38351@ediswmail.ad.cirrus.com> References: <20220526182129.538472-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220526182129.538472-1-aford173@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-ORIG-GUID: CdI6fm166QBGAmMEVa5QrgUYS6Ve4eqZ X-Proofpoint-GUID: CdI6fm166QBGAmMEVa5QrgUYS6Ve4eqZ X-Proofpoint-Spam-Reason: safe X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 26, 2022 at 01:21:28PM -0500, Adam Ford wrote: > If the audio CODEC is playing sound when the system is suspended, > it can be left in a state which throws the following error: > > wm8962 3-001a: ASoC: error at soc_component_read_no_lock on wm8962.3-001a: -16 > > Once this error has occurred, the audio will not work again until rebooted. > > Fix this by configuring SET_SYSTEM_SLEEP_PM_OPS. > > Signed-off-by: Adam Ford Acked-by: Charles Keepax Thanks, Charles