From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] [v2] ASoC: cs4270: use the built-in register cache support Date: Mon, 10 Jan 2011 18:54:06 +0000 Message-ID: <20110110185406.GD26137@opensource.wolfsonmicro.com> References: <1294675292-6289-1-git-send-email-timur@freescale.com> <1294676990.11031.10.camel@dplaptop.localdomain> <4D2B34C1.7050209@freescale.com> <1294677365.11031.13.camel@dplaptop.localdomain> <4D2B4376.101@freescale.com> <20110110182302.GB26137@opensource.wolfsonmicro.com> <4D2B50FA.9060102@freescale.com> <20110110183615.GC26137@opensource.wolfsonmicro.com> <4D2B52DA.1090102@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id 4D4EA245A4 for ; Mon, 10 Jan 2011 19:56:07 +0100 (CET) Content-Disposition: inline In-Reply-To: <4D2B52DA.1090102@freescale.com> 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: Timur Tabi Cc: Dimitris Papastamos , alsa-devel@alsa-project.org, lrg@slimlogic.co.uk List-Id: alsa-devel@alsa-project.org On Mon, Jan 10, 2011 at 12:41:30PM -0600, Timur Tabi wrote: > So I don't understand the philosophy here. Are we going to propagate errors > during read operations, or not? It seems that sometimes ASoC does, and > sometimes it doesn't, and sometimes it doesn't even know what it wants (e.g. the > snd_soc_X_X_read functions). This is all code that's evolved over time, and originally there was no readback facility at all (everything came from cache) so there were no errors to report in the first place. Besides, in general there's nothing constructive we can do about errors anyway except log them.