From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760045Ab1JGNfW (ORCPT ); Fri, 7 Oct 2011 09:35:22 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:62657 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760019Ab1JGNfU (ORCPT ); Fri, 7 Oct 2011 09:35:20 -0400 Subject: [PATCH v3 00/10] Convert wm8xxx codec drivers to use snd_soc_write/snd_soc_cache_sync From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Jonathan Cameron , Mark Brown , Liam Girdwood , Dimitris Papastamos , alsa-devel@alsa-project.org Content-Type: text/plain; charset="UTF-8" Date: Fri, 07 Oct 2011 21:35:08 +0800 Message-ID: <1317994508.9906.1.camel@phoenix> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This serial converts the wm8xxx codec drivers to use snd_soc_cache_sync. I don't have these hardware, but I assume Mark has all these hardware. These patches are UNTESTED. I'd appreciate if someone can test it. (Current code is broken anyway, thus we need convert to use new API. ) v3: use snd_soc_cache_sync to replace customized xxxx_sync_cache() calls. Drop wm8990 patch in v2, which is already merged. I also change the subject line back to be the same as v1. ( we are using snd_soc_cache_sync now, not snd_soc_write ) v2: For 7, 9 CODECs that are write only, convert to using cache_bypass + snd_soc_write v2 also includes wm8990 that I had sent separately. Axel Lin (10): ASoC: wm8510: Convert to snd_soc_cache_sync ASoC: wm8711: Convert to snd_soc_cache_sync ASoC: wm8731: Convert to snd_soc_cache_sync ASoC: wm8750: Convert to snd_soc_cache_sync ASoC: wm8776: Convert to snd_soc_cache_sync ASoC: wm8940: Convert to snd_soc_cache_sync ASoC: wm8960: Convert to snd_soc_cache_sync ASoC: wm8971: Convert to snd_soc_cache_sync ASoC: wm8974: Convert to snd_soc_cache_sync ASoC: wm8988: Convert to snd_soc_cache_sync sound/soc/codecs/wm8510.c | 13 +---------- sound/soc/codecs/wm8711.c | 15 ++----------- sound/soc/codecs/wm8731.c | 15 +------------ sound/soc/codecs/wm8750.c | 16 +------------- sound/soc/codecs/wm8776.c | 16 +------------- sound/soc/codecs/wm8940.c | 46 +++++++++++++++++++++----------------------- sound/soc/codecs/wm8960.c | 14 +++--------- sound/soc/codecs/wm8971.c | 15 ++----------- sound/soc/codecs/wm8974.c | 13 +---------- sound/soc/codecs/wm8988.c | 17 +-------------- 10 files changed, 44 insertions(+), 136 deletions(-) -- 1.7.4.1