summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdraw.c
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2012-01-20 21:17:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-01-23 09:45:56 +0100
commit8d6bfdaec7c3ce44969ca0930b84442ff93cd80b (patch)
tree11d07806a8708932c3c0ffb99622c0a32df15517 /drivers/mtd/mtdraw.c
parent3874b16997d3c0219a9baab3578ba27ec084282b (diff)
downloadbarebox-8d6bfdaec7c3ce44969ca0930b84442ff93cd80b.tar.gz
barebox-8d6bfdaec7c3ce44969ca0930b84442ff93cd80b.tar.xz
usb/gadget: fix poller NPE in early polling
The timings of the poller calling have changed, digging out a latent bug in pxa27x udc controller. The polling routine is called before the probe function is called, and the driver internal are not initialized at that time. This triggers a NULL pointer exception. Fix it by moving poller registration after driver probe. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/mtdraw.c')
0 files changed, 0 insertions, 0 deletions