diff options
Diffstat (limited to 'arch/arm/mach-pxa/ssp.c')
-rw-r--r-- | arch/arm/mach-pxa/ssp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/ssp.c b/arch/arm/mach-pxa/ssp.c index 0d48fbddc2df..89f38683787e 100644 --- a/arch/arm/mach-pxa/ssp.c +++ b/arch/arm/mach-pxa/ssp.c | |||
@@ -324,7 +324,7 @@ struct ssp_device *ssp_request(int port, const char *label) | |||
324 | 324 | ||
325 | mutex_unlock(&ssp_lock); | 325 | mutex_unlock(&ssp_lock); |
326 | 326 | ||
327 | if (ssp->port_id != port) | 327 | if (&ssp->node == &ssp_list) |
328 | return NULL; | 328 | return NULL; |
329 | 329 | ||
330 | return ssp; | 330 | return ssp; |