H Hartley Sweeten
1ca5d2f019
mtd/maps/physmap: catch failure to register MTD_PHYSMAP_COMPAT device
...
If the default Kconfig values are used with MTD_PHYSMAP_COMPAT you end
up with a resource where end < start. This causes __request_resource to
return a conflict which then returns an -EBUSY error code. The current
physmap.c code just assumes that the platfom_device_register will always
succeed.
Catch this failure during the physmap_init and propogate the error.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-04-20 08:53:52 +01:00
..
2008-12-10 13:37:21 +00:00
2008-08-07 09:55:48 +01:00
2010-02-25 11:35:14 +00:00
2008-11-13 15:05:03 +00:00
2010-02-25 12:50:45 +00:00
2008-12-10 13:01:00 +00:00
2009-02-27 04:52:45 +09:00
2008-12-10 13:01:02 +00:00
2009-09-15 09:37:12 -07:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-12-10 13:00:51 +00:00
2008-12-10 13:37:21 +00:00
2008-12-10 13:01:13 +00:00
2009-09-24 12:50:32 -07:00
2008-12-10 13:01:23 +00:00
2008-12-10 13:37:21 +00:00
2008-12-10 13:01:32 +00:00
2009-06-24 16:02:06 +01:00
2007-09-23 18:51:25 +01:00
2010-02-25 11:28:56 +00:00
2009-09-21 15:14:55 +02:00
2010-03-01 14:19:05 -08:00
2008-06-04 17:50:17 +01:00
2010-03-01 14:19:05 -08:00
2008-06-04 17:50:17 +01:00
2008-12-10 13:01:20 +00:00
2008-06-04 17:50:17 +01:00
2009-01-09 14:17:50 +00:00
2008-12-10 13:00:56 +00:00
2008-10-14 11:00:51 +01:00
2009-11-28 18:02:58 +01:00
2010-01-02 10:04:56 +00:00
2010-04-20 08:53:52 +01:00
2010-03-26 14:55:59 +00:00
2010-02-05 12:22:34 +01:00
2009-09-04 09:42:06 +01:00
2009-12-14 14:53:21 +00:00
2009-05-26 16:45:44 +01:00
2008-12-10 13:01:29 +00:00
2008-12-10 13:00:43 +00:00
2009-11-16 16:13:35 +00:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-12-10 13:37:21 +00:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2008-08-31 01:23:17 -07:00
2008-12-10 13:00:37 +00:00
2008-06-04 17:50:17 +01:00
2008-06-04 17:50:17 +01:00
2009-09-19 11:44:51 -07:00
2008-12-10 13:01:17 +00:00
2009-11-30 09:51:44 +00:00
2008-12-10 13:00:47 +00:00