Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp741822pxp; Fri, 11 Mar 2022 13:56:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJz0OY3HnCeiTKmVrulJHWbBh0ek3QAK/4hgAWOebY6UpI9FT3Ix0mGLmn/wHrdi/KnrASo4 X-Received: by 2002:a05:6a00:1d89:b0:4f7:a02d:271a with SMTP id z9-20020a056a001d8900b004f7a02d271amr1848519pfw.43.1647035771709; Fri, 11 Mar 2022 13:56:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1647035771; cv=none; d=google.com; s=arc-20160816; b=xVijSAumEu0si7jAmjxN6G4/Hn6oFPoCcLw+Y/KuRmMOXT7UqLS1+3t42WDZEUS9eY /QVTOHT084JUeqDm/rlnMIYE9YR3iroHrIrsQg68Z8BRu93aWZZzrkGlqeNTzKm6eVqx 7ninIkhZhezLB31PKDQ9tzIU0iui+/KO+KA2HyM0e5/0tN60Y3Hu5z8hJFLBVgaoLbS4 a+KOxgu56aDKn3BsN8CGEHuodvpdH9Z/c1q9lo8oC+P34MZOOpRQ1jSdh1fEz7ajKScA ixiODBXYLOmvNnyYp1a8Dl2ZZL+6ik6hZNEOyzbV2wXQ26x8fDzlDYMDTFCR8VvxNP3M TRHA== 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=GrKdFSYsZlVt8uhCN2U6sNHmV3u4KOt5mcwLajvsZOw=; b=fEJ3uF65RnS8pyap3HokvyXPqV72X2WEBEr50K8HU98EiTfJo97Pe4yhRWK+pfnT/v SN2ar0ujK+OnJh1r/F348dsHTmi+MiRY4s3BcBnpNuFFODXvSgutH5UkKSfHE09t1bqo DqAorcEZEaVY8saOBSrbmc8uov6SCt1evnKf8hcwMEqCOUWGa3K0HiF4bx4gFefJDpz3 N1UhMqWJnc6Hsg/HtXSI0kaGnpD9DDBGJRwVi+Lql4euCtpBspW57vDpyDHE/fGOcMN5 5YAoI+Gjw6XOmxawv6sYb3dr9P4BQwjMEbY+WkmFNy3xlii3qtdHFbitqTgWJk2V8kJl gzog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ONrKwNau; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u12-20020a63600c000000b00380f8fc539asi4608954pgb.705.2022.03.11.13.56.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 13:56:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ONrKwNau; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 42AD82E2C6D; Fri, 11 Mar 2022 13:14:23 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238374AbiCJEEJ (ORCPT + 99 others); Wed, 9 Mar 2022 23:04:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232620AbiCJEEI (ORCPT ); Wed, 9 Mar 2022 23:04:08 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E12FD710F6 for ; Wed, 9 Mar 2022 20:03:07 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id b24so5361232edu.10 for ; Wed, 09 Mar 2022 20:03:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GrKdFSYsZlVt8uhCN2U6sNHmV3u4KOt5mcwLajvsZOw=; b=ONrKwNauEyspuXAuyaYf+2s7frYnXQgKz3I3C/XTvDB8gnwd6/YlZl1iyEk5kZ2T9s CflKU1uQ3xl/8qFQRFY21+vq6dhEYhcFsbFQSMmoStDu0ZoDIcmz4pWksO1uCcP5vX2b UlrJuWB0okTvlUvCk92Sb8C9A4PlLlPLdBTVRDRdynYexSvalJOaM+uiDgfbbfn9mGph UkcupGs9lFCOqR+O5d7tp2IeOcyUUwZRS4C98tiYq3YE9X4Lgervcc4mnfH+/FM/xFnU IxfufytJXbxJI+AxXNgaE37NoMNafJs1zKfW9mF15vroPEb2zGDpC8giAcxDjTKstxsn HEeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GrKdFSYsZlVt8uhCN2U6sNHmV3u4KOt5mcwLajvsZOw=; b=T64ac2HFtDaXKeTQz8IVmV/ENQ2816nAnOOdthIxFuFBZSTiRbPWkykMfHBqfqa/O9 g9jueQQp1ZDnZk1Dt/BPNFFBSQMOJGc6NKiO6d1R1DdF328FkGMm5jie64qwVtqjIir2 RhN8fK8gphcpDliufZM2jddr0W4xTQRSsUHVea7gX6lq7CnNfWJJyg7ukrNd0lxQi1fk ZunIxY4PS9KAzroWfMkK2RPrVdQcv4uSaKAmua4l6OpIPd4E/taWqFf6t5ZYYR7gCFGs NiFjuYQeIyYJhKhHKRyDOhuf34vxE7Acaxdcf2PpKLaSF1uHxK2Dp2mHqIyIu1Kei699 /ifg== X-Gm-Message-State: AOAM533faput2FvuXi2YavBQhsvNcGsU0ryUwDPSQM5v4H5CUTzXlqVB JrC6ZvOpj/feNEHKXhtn99k56fgESxnA5YahN1g= X-Received: by 2002:a50:9d0f:0:b0:416:95a3:1611 with SMTP id v15-20020a509d0f000000b0041695a31611mr2430187ede.77.1646884986448; Wed, 09 Mar 2022 20:03:06 -0800 (PST) MIME-Version: 1.0 References: <1646879863-27711-1-git-send-email-shengjiu.wang@nxp.com> In-Reply-To: <1646879863-27711-1-git-send-email-shengjiu.wang@nxp.com> From: Fabio Estevam Date: Thu, 10 Mar 2022 01:02:54 -0300 Message-ID: Subject: Re: [PATCH] ASoC: fsl_spdif: Disable TX clock when stop To: Shengjiu Wang Cc: Nicolin Chen , Xiubo Li , Shengjiu Wang , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Linux-ALSA , linuxppc-dev , linux-kernel Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Wed, Mar 9, 2022 at 11:46 PM Shengjiu Wang wrote: > > The TX clock source may be changed in next case, need to > disable it when stop, otherwise the TX may not work after > changing the clock source, error log is: > > aplay: pcm_write:2058: write error: Input/output error > > Fixes: a2388a498ad2 ("ASoC: fsl: Add S/PDIF CPU DAI driver") > Signed-off-by: Shengjiu Wang Reviewed-by: Fabio Estevam