Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1196132
| From | Fabio Estevam <festevam@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/6] ASoC: fsl_ssi: enable IPG clock during AC'97 reg access |
| Date | 2015-07-30 17:30 +0200 |
| Message-ID | <pRXWq-2jR-11@gated-at.bofh.it> (permalink) |
| References | <pRXa2-19k-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Maciej,
On Thu, Jul 30, 2015 at 11:33 AM, Maciej S. Szmigiero
<mail@maciej.szmigiero.name> wrote:
> static unsigned short fsl_ssi_ac97_read(struct snd_ac97 *ac97,
> @@ -1151,6 +1160,14 @@ static unsigned short fsl_ssi_ac97_read(struct snd_ac97 *ac97,
> unsigned short val = -1;
> u32 reg_val;
> unsigned int lreg;
> + int ret;
> +
> + ret = clk_prepare_enable(fsl_ac97_data->clk);
> + if (ret) {
> + pr_err("ac97 read clk_prepare_enable failed: %d\n",
> + ret);
> + return -1;
return ret, please.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/6] ASoC: fsl_ssi: enable IPG clock during AC'97 reg access "Maciej S. Szmigiero" <mail@maciej.szmigiero.name> - 2015-07-30 16:40 +0200 Re: [PATCH 1/6] ASoC: fsl_ssi: enable IPG clock during AC'97 reg access "Maciej S. Szmigiero" <mail@maciej.szmigiero.name> - 2015-07-30 17:30 +0200 Re: [PATCH 1/6] ASoC: fsl_ssi: enable IPG clock during AC'97 reg access Fabio Estevam <festevam@gmail.com> - 2015-07-30 17:30 +0200
csiph-web