From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941362AbcIZN3g (ORCPT ); Mon, 26 Sep 2016 09:29:36 -0400 Received: from mail1.bemta3.messagelabs.com ([195.245.230.172]:41521 "EHLO mail1.bemta3.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935875AbcIZN3e (ORCPT ); Mon, 26 Sep 2016 09:29:34 -0400 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrOIsWRWlGSWpSXmKPExsUSt3Opse56pZf hBksumVtcuXiIyWLqwydsFjffPWey+Halg8ni8q45bBadu/pZLVa/WcBiseH7WkaLxtdzWR04 PTZ8bmLzmN1wkcVj56y77B6L97xk8ti0qpPNY9/bZWwef2ftZ/FYv+Uqi8fnTXIBnFGsmXlJ+ RUJrBl/NwUVTGGvWP9OsYHxA2sXIxeHkMB6Rolr09ezdDFyAjkVEnu2bQCzeQXcJB5OPs8GYr MJWEhMPvEAzGYRUJU42fQHrEZYwEPi46PLjCCDRAS6GCVWv3rMDuIwC/xnlNh8ciHUJEGJkzO fgNnMAhISB1+8YIbYZiBxekEjWFxCwF5i+vurQHEOIFtfovFYLETYUOL7rG9QJeYSe87fZ5rA yD8LydRZSKYuYGRaxahenFpUllqka6aXVJSZnlGSm5iZo2toYKyXm1pcnJiempOYVKyXnJ+7i REYCfUMDIw7GK+0OR9ilORgUhLl1ZN7GS7El5SfUpmRWJwRX1Sak1p8iFGGg0NJgjddESgnWJ SanlqRlpkDjEmYtAQHj5II7wSQNG9xQWJucWY6ROoUoy7Hgh+31zIJseTl56VKifPuASkSACn KKM2DGwFLD5cYZaWEeRkZGBiEeApSi3IzS1DlXzGKczAqCfPGgEzhycwrgdv0CugIJqAjlp54 AXJESSJCSqqBMb3pQPEGBSfRI5uN1trJrw76IC1z0j7b5xvbvhbzHpcijisbxOIyzx+1qai56 h7SvrH3s+oGq7PfTkr/K+QOeK39N+aX2HL1uOOJqqLtLGG12ppJ27bJ9U1+WRX7+NSVFXvWrr /oU1V48Pjbq+KpYW9FF02YtiO7pC2pxHVm3aaub49kZuXPU2Ipzkg01GIuKk4EAF7Ps8MKAwA A X-Env-Sender: Adam.Thomson.Opensource@diasemi.com X-Msg-Ref: server-7.tower-39.messagelabs.com!1474896559!56779134!1 X-Originating-IP: [94.185.165.51] X-StarScan-Received: X-StarScan-Version: 8.84; banners=-,-,- X-VirusChecked: Checked Message-ID: From: Adam Thomson Date: Mon, 26 Sep 2016 14:29:19 +0100 Subject: [PATCH 0/2] ASoC: da7219: Codec soft reset and AAD improvements To: Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai CC: Support Opensource , , , Sathyanarayana Nujella , Xing Zheng , Hsin-Yu Chao MIME-Version: 1.0 Content-Type: text/plain X-KSE-AttachmentFiltering-Interceptor-Info: protection disabled X-KSE-ServerInfo: sw-ex-cashub01.diasemi.com, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 26/09/2016 10:27:00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set makes the following updates to the driver code: 1) Ensures codec is properly reset at startup, and if previously active then disable audio paths prior to reset. 2) Disables AAD in suspend, if device is not a wake-up source. Changes are based on top of latest code introduced under the following commits: ASoC: da7219: software reset codec at probe ASoC: da7219: Support HP detect procedure when MCLK not present Adam Thomson (2): ASoC: da7219: Reset codec gracefully, if still active ASoC: da7219: Disable AAD if codec is not a wake-up source include/sound/da7219.h | 2 ++ sound/soc/codecs/da7219-aad.c | 56 ++++++++++++++++++++++++++++++++++++++++ sound/soc/codecs/da7219-aad.h | 5 ++++ sound/soc/codecs/da7219.c | 60 +++++++++++++++++++++++++++++++------------ sound/soc/codecs/da7219.h | 6 +++++ 5 files changed, 113 insertions(+), 16 deletions(-) -- 1.9.3