[PATCH] imx: dma: remove SDMA_IS_MERGED
festevam at gmail.com
Wed Dec 1 10:40:17 EST 2010
On Wed, Dec 1, 2010 at 9:14 AM, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> It seems the reason for the crash is that firmware_class registers in
> fs_initcall whereas the sdma driver uses it at subsys_initcall time.
> Solution is to either use module_init in the sdma driver or
> subsys_initcall in drivers/base/firmware_class.c.
> When given a firmware it works, when no firmware is given the kernel
> locks for some time because it waits for the firmware to appear which
> never happens. We should probably use request_firmware_nowait in the
> sdma driver.
> I put together a branch with sdma sound working on the babbage and
> mx35-3ds boards using mx3_defconfig/mx51_defconfig from this branch.
> The branch works with and without firmware with the mentioned wait time
> when the firmware is not available.
> BTW I changed the SDMA firmware repository to name the i.MX51 firmware
> *to3.bin instead of to1, because that's what it actually is.
> Sound support is a story with many frameworks and a lot of board
> specifics involved, but I hope we manage to sort this out for i.MX soon.
> Sorry for the inconvenience.
> It would be great if someone steps forward and mainlines this sgtl5000
> codec driver, that's currently the main showstopper for sound support on
> the Freescale boards.
Thanks a lot for setting up this branch. I can confirm that audio
works on MX51 Babbage on this branch.
I will check internally if someone is willing to mainline sgtl5000.
More information about the linux-arm-kernel