Re: [PATCH 2/4] ASoC: pxa-ssp: PXA2xx/3xx SSP ports start from 1, not 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 03, 2009 at 06:13:22PM +0100, pHilipp Zabel wrote:

> -       priv->dev.ssp = ssp_request(dai->id, "SoC audio");
> +       priv->dev.ssp = ssp_request(dai->id + 1, "SoC audio");
>         if (priv->dev.ssp == NULL) {
>                 ret = -ENODEV;
>                 goto err_priv;

> But this isn't right either. Because if we request the correct SSP
> port here, the subsequent request of the same SSP port in ssp_init
> (called from ops->startup) fails.
> How to fix?

Hrm.  ssp_init() does a ssp_request() already.  The request on probe is
just redundant.  Eric was muttering about refactoring the API some more
but never got round to it.

-- 
"You grabbed my hand and we fell into it, like a daydream - or a fever."
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux