Revision 21eb45db282317543ca46c821bbb8d5075e02cbe authored by Peter Ujfalusi on 19 August 2016, 06:34:24 UTC, committed by Mark Brown on 19 August 2016, 14:18:43 UTC
The dmic-codec was registered within the platform_driver's probe function, which can cause deferred probe to run in loops as reported and analyzed by Russell King. Use module_init/exit in the driver and handle the dmic-codec device registration and removal at that level instead of the platform_driver probe/remove. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Reported-by: Russell King <rmk+kernel@armlinux.org.uk> Tested-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 479e2a8
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 344 bytes |
cache.S | -rw-r--r-- | 4.6 KB |
context.c | -rw-r--r-- | 6.7 KB |
copypage.c | -rw-r--r-- | 1.1 KB |
dma-mapping.c | -rw-r--r-- | 25.3 KB |
dump.c | -rw-r--r-- | 7.9 KB |
extable.c | -rw-r--r-- | 342 bytes |
fault.c | -rw-r--r-- | 19.1 KB |
flush.c | -rw-r--r-- | 2.6 KB |
hugetlbpage.c | -rw-r--r-- | 7.8 KB |
init.c | -rw-r--r-- | 14.4 KB |
ioremap.c | -rw-r--r-- | 2.9 KB |
kasan_init.c | -rw-r--r-- | 5.9 KB |
mm.h | -rw-r--r-- | 24 bytes |
mmap.c | -rw-r--r-- | 3.4 KB |
mmu.c | -rw-r--r-- | 20.1 KB |
numa.c | -rw-r--r-- | 9.5 KB |
pageattr.c | -rw-r--r-- | 3.6 KB |
pgd.c | -rw-r--r-- | 1.5 KB |
proc.S | -rw-r--r-- | 6.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...