Grant Likely
2d0747c4b6
of: Properly set the OF_POPULATED_BUS flag on root node
...
of_platform_populate() takes a subset of the device tree and turns it
into a set of platform_devices. At the same time it sets the
OF_POPULATED_BUS flag in each bus nodes so that of_platform_depopulate()
can undo the operation at a later time. However, it doesn't set the flag
on the root of the population tree which means that dynamic modifications
of the device tree at runtime will not create/destroy devices correctly.
Fix of_platform_populate() to set the OF_POPULATED_BUS flag on the node
it is called with.
Signed-off-by: Grant Likely <grant.likely@linaro.org >
Cc: Rob Herring <robh+dt@kernel.org >
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com >
Cc: Pawel Moll <pawel.moll@arm.com >
2014-11-20 10:51:18 +00:00
..
2014-10-31 22:24:44 +01:00
2014-10-18 18:11:04 -07:00
2014-10-17 11:55:32 -04:00
2014-10-31 19:08:25 -07:00
2014-10-23 14:02:06 -04:00
2014-10-31 15:00:48 -07:00
2014-10-13 11:28:42 +02:00
2014-10-31 06:33:26 -04:00
2014-10-15 07:05:03 +02:00
2014-10-26 20:50:00 +01:00
2014-07-23 10:18:07 -07:00
2014-10-27 23:27:35 +01:00
2014-10-24 12:48:47 -07:00
2014-10-14 10:51:23 +02:00
2014-10-18 18:11:04 -07:00
2014-10-09 02:39:07 -04:00
2014-10-22 22:59:00 +02:00
2014-10-23 14:45:09 -07:00
2014-03-02 19:53:09 -08:00
2014-10-09 14:58:15 -04:00
2014-11-03 01:51:28 +09:00
2014-10-29 11:52:35 -07:00
2014-10-19 18:41:18 -07:00
2014-07-29 11:46:28 +03:00
2014-10-19 12:50:44 -07:00
2014-10-18 12:12:45 -07:00
2014-08-15 17:06:40 -04:00
2014-10-25 10:09:39 +08:00
2014-10-31 15:04:58 -07:00
2014-10-31 19:51:11 -07:00
2014-10-15 07:23:49 +02:00
2014-10-15 07:48:18 +02:00
2014-10-14 15:05:35 -04:00
2014-10-21 08:18:38 -07:00
2014-08-06 18:01:19 -07:00
2014-10-21 11:21:19 -07:00
2014-10-18 12:25:30 -07:00
2014-10-24 09:36:59 -02:00
2014-10-14 02:18:22 +02:00
2014-11-04 13:29:38 +00:00
2014-10-28 19:52:52 +11:00
2014-10-18 12:12:45 -07:00
2014-11-02 14:45:52 -08:00
2014-10-31 16:18:35 -04:00
2014-10-17 07:08:51 -04:00
2014-11-20 10:51:18 +00:00
2014-10-13 16:23:15 +02:00
2014-10-31 18:48:29 -07:00
2014-10-09 14:58:15 -04:00
2014-10-14 02:18:25 +02:00
2014-10-14 02:18:25 +02:00
2014-10-22 10:08:22 +02:00
2014-08-12 12:15:14 -06:00
2014-10-21 08:17:43 -07:00
2014-08-12 12:15:14 -06:00
2014-10-27 11:26:24 +00:00
2014-10-29 16:33:14 -07:00
2014-10-21 07:47:54 -07:00
2014-08-05 18:57:18 -07:00
2014-10-28 09:57:00 +01:00
2014-09-09 00:46:13 +02:00
2013-01-03 15:57:16 -08:00
2014-10-27 11:26:54 +00:00
2014-07-10 15:22:13 -07:00
2014-10-09 14:58:15 -04:00
2014-11-02 10:28:43 -08:00
2014-10-21 13:06:38 -07:00
2014-10-24 11:21:43 -07:00
2014-10-18 18:11:04 -07:00
2014-10-02 21:35:54 -07:00
2014-10-29 09:24:42 -07:00
2014-10-15 07:23:49 +02:00
2014-10-30 14:53:49 +02:00
2014-10-18 10:25:09 -07:00
2014-01-23 16:36:55 -08:00
2014-08-08 15:57:30 -07:00
2014-06-23 12:38:08 -04:00
2014-10-20 21:09:17 +02:00
2014-10-23 16:24:02 +01:00