From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from muin.pair.com (muin.pair.com [209.68.1.55]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 79BFC1A06BB for ; Tue, 12 Jan 2016 12:53:46 +1100 (AEDT) Subject: Re: [PATCH 3/3] ASoC: fsl_ssi: remove register defaults To: Mark Brown Cc: "Maciej S. Szmigiero" , Fabio Estevam , "alsa-devel@alsa-project.org" , Nicolin Chen , Xiubo Li , Liam Girdwood , "linuxppc-dev@lists.ozlabs.org" , linux-kernel References: <5677107C.60904@maciej.szmigiero.name> <20160111140038.GC6588@sirena.org.uk> <5693B7CC.8000905@maciej.szmigiero.name> <20160111145430.GE6588@sirena.org.uk> <5693CE21.8010009@tabi.org> <20160111161225.GJ6588@sirena.org.uk> <569455AA.4060907@tabi.org> <20160112013421.GW6588@sirena.org.uk> From: Timur Tabi Message-ID: <56945CA7.70100@tabi.org> Date: Mon, 11 Jan 2016 19:53:43 -0600 MIME-Version: 1.0 In-Reply-To: <20160112013421.GW6588@sirena.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Mark Brown wrote: > Quite possibly (it'll be more efficient and it's intended for such use > cases) but as I said in my other reply that then has the issue that it > implicitly gives default values to all the registers so I'd expect we > still need to handle the cache initialisation explicitly (or > alternatively the hardware sync with the cache on startup). Why does REGCACHE_FLAT assume that all registers have a default value of 0? Shouldn't it have the same behavior w.r.t. cache values as REGCACHE_RBTREE?