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 E670E1A1977 for ; Mon, 11 Jan 2016 08:36:35 +1100 (AEDT) Subject: Re: [PATCH 3/3] ASoC: fsl_ssi: remove register defaults To: "Maciej S. Szmigiero" , "alsa-devel@alsa-project.org" Cc: Nicolin Chen , Xiubo Li , Liam Girdwood , Mark Brown , "linuxppc-dev@lists.ozlabs.org" , linux-kernel , Fabio Estevam References: <5677107C.60904@maciej.szmigiero.name> From: Timur Tabi Message-ID: <5692CEE2.2040504@tabi.org> Date: Sun, 10 Jan 2016 15:36:34 -0600 MIME-Version: 1.0 In-Reply-To: <5677107C.60904@maciej.szmigiero.name> Content-Type: text/plain; charset=UTF-8; format=flowed List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Maciej S. Szmigiero wrote: > There is no guarantee that on fsl_ssi module load > SSI registers will have their power-on-reset values. > > In fact, if the driver is reloaded the values in > registers will be whatever they were set to previously. > > This fixes hard lockup on fsl_ssi module reload, > at least in AC'97 mode. > > Fixes: 05cf237972fe ("ASoC: fsl_ssi: Add driver suspend and resume to support MEGA Fast") > > Signed-off-by: Maciej S. Szmigiero Acked-by: Timur Tabi I'm surprised that we're actually encouraging drivers to contain hard-coded register values.