Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6393731ybi; Mon, 8 Jul 2019 02:23:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeEZR/HN28Ke6mkVq8ly6Ti3k70eFbObddkhYayNY9+o3ToPZY9BusGUidQfdAHicpnMwA X-Received: by 2002:a17:902:f01:: with SMTP id 1mr23127874ply.170.1562577813752; Mon, 08 Jul 2019 02:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562577813; cv=none; d=google.com; s=arc-20160816; b=I+fv6xbrMvVXPOk6LvB4QIUdar0O0Tz3kzd7gpJpAaD2NW/IqsowaIXyFIFICvOunk +NvDJGauiHLF8gO2osMqWiVlXz94JZu9EC2siYG00x09EXRuaqzwVLKdiddPsXfoxU1O oOcQOB5CXKVnMk4F9A/SXqA/K8aQLJaqkf2lonIb74vaVaynu64pLciUcPEDeMybfDd3 f36KMf6uK5ENOWv/MVlhj6dzoDdgNKOmumFtZ4pLmgQnd/KN+Xz/6G9UwEaG/ndg3buK MjBLcGKhcfHfMBEv2zYuwQu6tWxTY63P9A0L8vJIBiLxWULcqv/1B250scYBZesRPvy8 nuEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=SV/54tonrSeYDPGa8RmxJCmAmB2rrUre79bsHeC0QF0=; b=v23BgADoFj2YagTV2YndxDfJ3Eug9SJFeuJHxWk6yB+w9lnaW6/Q/np4WIXWCuTT3L ujf1excDv2hgXJitEWYiFaIQyyRvcVyok3XVnkmV+/dM2zPxJnd4PJE1lI26c80FwF/e nEthb0DIDeIg9vmyiszp/x7fo6v15ub6FJj2CmrldAQfQ2PS7q4WjjbyQtn3pkvJHrRS pU5vV5I2/oAJMp7+ggznbwwYTHXqzVL5VS6jpPGJe5f16WVj/UFvAASHg5nCuL6Jymxt q4RIXNGmAdJAlbtyCKbtzhWKlGKnaDrznWpj/lUK9qRY9zx0hl5ziU7PKudIPSuQH1eQ eBeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i94si16868679plb.78.2019.07.08.02.23.18; Mon, 08 Jul 2019 02:23:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729164AbfGHGsS (ORCPT + 99 others); Mon, 8 Jul 2019 02:48:18 -0400 Received: from inva021.nxp.com ([92.121.34.21]:54786 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728611AbfGHGsS (ORCPT ); Mon, 8 Jul 2019 02:48:18 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A2E1A2000D7; Mon, 8 Jul 2019 08:48:16 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 465A7200026; Mon, 8 Jul 2019 08:48:12 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 943A4402AE; Mon, 8 Jul 2019 14:48:06 +0800 (SGT) From: shengjiu.wang@nxp.com To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, broonie@kernel.org, alsa-devel@alsa-project.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 0/2] recover the channel swap after xrun Date: Mon, 8 Jul 2019 14:38:50 +0800 Message-Id: X-Mailer: git-send-email 2.14.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Shengjiu Wang recover the channel swap after xrun Shengjiu Wang (2): ASoC: fsl_esai: Wrap some operations to be functions ASoC: fsl_esai: recover the channel swap after xrun sound/soc/fsl/fsl_esai.c | 270 ++++++++++++++++++++++++++++----------- 1 file changed, 197 insertions(+), 73 deletions(-) Changes in V3 - update code sytle. Changes in v2 - add one patch for wrap operations to functions. - fix some coding style issue -- 2.21.0