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 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 606011A0771 for ; Tue, 9 Sep 2014 23:17:55 +1000 (EST) Message-ID: <540EFDFF.7050804@tabi.org> Date: Tue, 09 Sep 2014 08:17:51 -0500 From: Timur Tabi MIME-Version: 1.0 To: Shengjiu Wang , nicoleotsuka@gmail.com, Li.Xiubo@freescale.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.de Subject: Re: [PATCH V1] ASoC: fsl_ssi: refine ipg clock usage in this module References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Shengjiu Wang wrote: > + if (ssi_private->soc->imx) > + clk_prepare_enable(ssi_private->clk); How about this instead? if (ssi_private->clk) clk_prepare_enable(ssi_private->clk);