From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Keepax Subject: Re: [alsa-devel] [PATCH v5 3/3] ASoC: fsl: add imx-es8328 machine driver Date: Fri, 20 Jun 2014 11:57:00 +0100 Message-ID: <20140620105700.GE3412@opensource.wolfsonmicro.com> References: <1403244859-22236-1-git-send-email-xobs@kosagi.com> <1403244859-22236-4-git-send-email-xobs@kosagi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1403244859-22236-4-git-send-email-xobs-nXMMniAx+RbQT0dZR+AlfA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sean Cross Cc: lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Grant Likely , Rob Herring , Shawn Guo , Philipp Zabel , Fabio Estevam , Nicolin Chen , alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, bunnie-nXMMniAx+RbQT0dZR+AlfA@public.gmane.org List-Id: devicetree@vger.kernel.org On Fri, Jun 20, 2014 at 02:14:19PM +0800, Sean Cross wrote: > This adds an initial machine driver for the ES8328 audio codec on Freescale > boards. The driver supports headphones and an audio regulator for an onboard > speaker amp. > > Signed-off-by: Sean Cross > --- > +static int imx_set_frequency(struct imx_es8328_data *data, int freq) > +{ > + int ret; > + > + return ret; > +} This function returns an uninitialised variable and is not used anywhere, so I assume can be removed. Thanks, Charles -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html