Anton Vorontsov
f379188958
fsl-diu-fb: Pass the proper device for dma mapping routines
The driver should pass a device that specifies internal DMA ops, but
currently NULL pointers are passed, and thus following bug pops up:
Freescale DIU driver
------------[ cut here ]------------
kernel BUG at arch/powerpc/include/asm/dma-mapping.h:237!
Oops: Exception in kernel mode, sig: 5 [#1]
...
NIP [c01658b4] allocate_buf+0x0/0x8
LR [c0306554] fsl_diu_probe+0x2b4/0x518
Call Trace:
[df02be10] [c030638c] fsl_diu_probe+0xec/0x518 (unreliable)
[df02be60] [c020cdec] of_platform_device_probe+0x5c/0x84
[df02be80] [c018f5d0] really_probe+0x78/0x1a0
[df02bea0] [c018f7c0] __driver_attach+0xa4/0xa8
[df02bec0] [c018ea00] bus_for_each_dev+0x60/0x9c
[df02bef0] [c018f414] driver_attach+0x24/0x34
[df02bf00] [c018f168] bus_add_driver+0x12c/0x1cc
[df02bf20] [c018fbdc] driver_register+0x6c/0x110
[df02bf30] [c020ccb4] of_register_driver+0x54/0x70
[df02bf40] [c03d0a50] fsl_diu_init+0x70/0xa4
...
This patch fixes the issue.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-04-06 09:12:38 -05:00
..
2009-03-31 01:14:44 +04:00
2009-03-24 16:38:22 -07:00
2009-03-28 20:29:51 +00:00
2009-03-21 19:06:51 -07:00
2009-03-30 18:00:26 -07:00
2009-03-31 01:14:44 +04:00
2009-03-31 01:14:44 +04:00
2009-03-27 17:28:43 +01:00
2009-03-26 11:04:08 -07:00
2009-03-26 11:04:34 -07:00
2009-03-23 09:25:58 -07:00
2009-03-24 16:38:22 -07:00
2009-03-28 20:29:51 +00:00
2009-03-24 16:38:21 -07:00
2009-03-27 17:28:43 +01:00
2009-03-24 20:56:52 +01:00
2009-03-30 21:46:44 +02:00
2009-03-24 16:38:23 -07:00
2009-03-29 18:31:49 +10:00
2009-03-26 16:14:02 -07:00
2009-03-30 21:46:45 +02:00
2009-03-30 17:54:32 -07:00
2009-03-27 12:46:47 +01:00
2009-03-27 18:33:56 -07:00
2009-03-28 13:30:43 -07:00
2009-03-31 01:14:44 +04:00
2009-03-31 01:14:44 +04:00
2009-03-30 21:55:25 +10:30
2009-03-24 16:38:23 -07:00
2009-03-16 17:44:36 +00:00
2009-03-31 01:14:44 +04:00
2009-03-31 01:14:44 +04:00
2009-03-24 16:38:23 -07:00
2009-03-28 14:04:53 -07:00
2009-03-28 20:29:51 +00:00
2009-03-28 14:03:14 -07:00
2009-03-30 18:46:43 -07:00
2009-03-30 22:05:18 +10:30
2009-03-15 13:36:22 -07:00
2009-03-30 15:12:14 -07:00
2009-03-28 20:29:51 +00:00
2009-03-30 17:54:32 -07:00
2009-03-12 16:20:23 -07:00
2009-03-11 17:10:17 +11:00
2009-03-24 16:38:21 -07:00
2009-03-31 01:14:44 +04:00
2009-03-31 01:14:44 +04:00
2009-03-13 14:30:08 -07:00
2009-03-31 01:14:44 +04:00
2009-04-06 09:09:33 -05:00
2009-03-29 08:12:39 -07:00
2009-03-30 14:04:53 +11:00
2009-03-27 20:13:20 -04:00
2009-03-24 00:35:35 +01:00
2009-03-24 16:38:22 -07:00
2009-03-24 16:38:25 -07:00
2009-03-28 14:03:14 -07:00
2009-04-06 09:12:38 -05:00
2009-03-30 21:55:23 +10:30
2009-03-25 18:31:35 +00:00
2009-03-30 17:54:32 -07:00
2009-03-30 21:46:54 +02:00
2009-03-24 16:38:21 -07:00
2009-03-28 13:06:16 -07:00