Re: FOR COMMENT: void __iomem * and similar casts are Bad News

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

 



Hi All,

I am finished with the ASOC driver for tlvaic23b codec on osk.
I tested the playback and capture.

But have certain issue which stops me from sending the patches.

The system hangs when there is a request for mcbsp in the platform driver
of omap ie.. at
File:sound/soc/omap/omap-mcbsp.c
Function: omap_mcbsp_dai_startup
omap_mcbsp_request(mcbsp_data->bus_id);
This is executed when we do an aplay.

In the ALSA driver(sound/arm/omap/omap-alsa.c:513) the
omap_mcbsp_request() is during the boot time.
There no issues.

So during my testing of the ASOC driver i comment out
omap_mcbsp_request(mcbsp_data->bus_id); from
platform driver (sound/soc/omap/omap-mcbsp.c) and insted requested the
omap_mcbsp in my
moudule_init of machine driver(ie sound/soc/omap/osk.c).

Write which causes this hang is at
File: arch/arm/mach-omap1/mcbsp.c
Function: omap1_mcbsp_request

 __raw_writew(__raw_readw(DSP_RSTCT2) | DPS_RSTCT2_PER_EN |
                                DSP_RSTCT2_WD_PER_EN, DSP_RSTCT2);

Anybody has some clues to fix this.

Thanks
Arun
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux