From: Leon Romanovsky Subject: [PATCH v2 2/3] ASoC: alc5632: Added support of two undocumented registers Date: Thu, 17 Nov 2011 12:01:29 +0200 Message-ID: <1321524090-8935-2-git-send-email-leon@leon.nu> References: <1321524090-8935-1-git-send-email-leon@leon.nu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ey0-f179.google.com (mail-ey0-f179.google.com [209.85.215.179]) by alsa0.perex.cz (Postfix) with ESMTP id A82FD24417 for ; Thu, 17 Nov 2011 11:01:47 +0100 (CET) Received: by eyz10 with SMTP id 10so1774085eyz.38 for ; Thu, 17 Nov 2011 02:01:47 -0800 (PST) In-Reply-To: <1321524090-8935-1-git-send-email-leon@leon.nu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: broonie@opensource.wolfsonmicro.com, lrg@ti.com Cc: alsa-devel@alsa-project.org, Leon Romanovsky List-Id: alsa-devel@alsa-project.org There are two undocumented registers in use in alc5632_i2c_probe function. It must be added to support future rewrite of this function to use regmap API completely. Signed-off-by: Leon Romanovsky --- sound/soc/codecs/alc5632.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c index 9660542..be10228 100644 --- a/sound/soc/codecs/alc5632.c +++ b/sound/soc/codecs/alc5632.c @@ -104,6 +104,8 @@ static bool alc5632_volatile_register(struct device *dev, case ALC5632_OVER_CURR_STATUS: case ALC5632_HID_CTRL_DATA: case ALC5632_EQ_CTRL: + case ALC5632_VENDOR_ID1: + case ALC5632_VENDOR_ID2: return true; default: -- 1.7.3.4