Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10353839ybi; Thu, 11 Jul 2019 03:59:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/K7r9w0X2CXnidO2jLC+3hBZq9TbCoyGA1V7EktUBmLkoBQyQMJ/IPDvD1LGoh0HVNNGJ X-Received: by 2002:a17:90a:3401:: with SMTP id o1mr4119186pjb.7.1562842790051; Thu, 11 Jul 2019 03:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562842790; cv=none; d=google.com; s=arc-20160816; b=GPl4IZhaygJH+CM+O9HnYrIf2fz13FVER+XLMxbStiDQNhctpbmxRJXKESpNPREM+n cz+uvOL9k6r6A/ZCPnDGL/uP3LFOU/3wqdsc6gzHjx5g0xkoqo5KMOVgauE4e0IJkBh+ WZ1e51fP3H9EPO2M4M5mWQVutzxDviZVgxbs5u9mYfclympzrvJYMCTNMs7IhN9c9Bhr s5MVfPibKh0ZmMZlyP//1fmCyLDoAHitGNTOobIXRWY563uJ3XAXq1sjK27SwYzJ9EUS A56eGkSF7Z28Q+5gfsQ6xe7CVZbaQl/ErOGb2LcDywf3nLyQtyFTxMZADjkd0vao6aD/ 094g== 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=HiGn9DBIjVBrzCe/QhMXtd+atrpQ7On96J68uAz9Q30=; b=dVfDjZ4Ur5g0uTlFP6Z/UUNO0v8cV0FEIPv9zliAAzE0Y1GTwACVuFgGpzsBuaH1mc +OcGxhUKD/nz5dDhS8wG5hOBTcPrEsVfoObUGB80rNzB0AA1kZa/v3vvbPtIHFq3xJ1A QVF/s7qWS4xtJKuKh0lI2LluZyNcPgvrWzhooVLP7Hsn9FvUNVIZjtDmfaLyIJhpDwDI +PXjxW2AXolHN/fkwN9bxCm9Za1OZTRMnLc6wSBXQWmQT87sLUcOcTp+To3Wbkuh3MHQ diW2995Xicga66iFZcHXzoIjFTl2tHHP/WxTf7aV4udD8EbeXUqYpPIHQTMa1IrIdE+q GOMQ== 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 v10si4854930plg.320.2019.07.11.03.59.34; Thu, 11 Jul 2019 03:59:50 -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 S1728274AbfGKK7D (ORCPT + 99 others); Thu, 11 Jul 2019 06:59:03 -0400 Received: from inva021.nxp.com ([92.121.34.21]:58458 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728045AbfGKK7D (ORCPT ); Thu, 11 Jul 2019 06:59:03 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 13EF9200EA8; Thu, 11 Jul 2019 12:59:02 +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 44E3F2008EC; Thu, 11 Jul 2019 12:58:56 +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 EAECF402DB; Thu, 11 Jul 2019 18:58:48 +0800 (SGT) From: shengjiu.wang@nxp.com To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, broonie@kernel.org, alsa-devel@alsa-project.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH V4 0/2] recover the channel swap after xrun Date: Thu, 11 Jul 2019 18:49:44 +0800 Message-Id: X-Mailer: git-send-email 2.9.5 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 | 266 ++++++++++++++++++++++++++++----------- 1 file changed, 193 insertions(+), 73 deletions(-) Changes in v4 -add more comments and remove read saisr 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