Re: [PATCH] mtd: partition: Fix OF partition fixup

2015-05-04 Thread Sascha Hauer
On Thu, Apr 30, 2015 at 12:51:05PM +0200, Marc Kleine-Budde wrote: > On 04/27/2015 11:24 AM, Sascha Hauer wrote: > > To get the number of address cells and size cells we have to use > > the newly created partition node, not the parent device node. The > > parent device node returns the address/size

Re: [PATCH] mtd: partition: Fix OF partition fixup

2015-04-30 Thread Marc Kleine-Budde
On 04/27/2015 11:24 AM, Sascha Hauer wrote: > To get the number of address cells and size cells we have to use > the newly created partition node, not the parent device node. The > parent device node returns the address/size cells of the controller > node, not the partition node. > > Signed-off-by

Re: [PATCH] mtd: partition: Fix OF partition fixup

2015-04-27 Thread Uwe Kleine-König
Hello Sascha, On Mon, Apr 27, 2015 at 11:24:10AM +0200, Sascha Hauer wrote: > To get the number of address cells and size cells we have to use > the newly created partition node, not the parent device node. The > parent device node returns the address/size cells of the controller > node, not the p

[PATCH] mtd: partition: Fix OF partition fixup

2015-04-27 Thread Sascha Hauer
To get the number of address cells and size cells we have to use the newly created partition node, not the parent device node. The parent device node returns the address/size cells of the controller node, not the partition node. Signed-off-by: Sascha Hauer --- drivers/mtd/core.c | 4 ++-- 1 file