in the function SetUpHCDDMA() the local variable
pDesc is set to NULL. Later in the same function
pDesc is passed to a function which seg faults
because pDesc is NULL. Nothing inbetween could
alter pDesc so it looks like this DMA code could
never have possibly worked. Comparing it to the
OMAP1 version of the same code in:
drivers/sdio/hcd/omap/sdio_hcd_os_2_6.c
it's obvious that the OMAP2 version is missing a
few things. Maybe PIO mode works, but this DMA
code could never have been operational (or else
it was mangled somewhere along the way).
Ron
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the file:
drivers/sdio/hcd/omap_2420/sdio_hcd_os_2_6.c
in the function SetUpHCDDMA() the local variable
pDesc is set to NULL. Later in the same function
pDesc is passed to a function which seg faults
because pDesc is NULL. Nothing inbetween could
alter pDesc so it looks like this DMA code could
never have possibly worked. Comparing it to the
OMAP1 version of the same code in:
drivers/sdio/hcd/omap/sdio_hcd_os_2_6.c
it's obvious that the OMAP2 version is missing a
few things. Maybe PIO mode works, but this DMA
code could never have been operational (or else
it was mangled somewhere along the way).
Ron