From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Regmap regression in next caused by of_iomap change Date: Thu, 8 Sep 2016 11:41:12 -0700 Message-ID: <20160908184111.vj3sb2ik6ydehkag@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Andrey Smirnov , Lee Jones Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Arnd Bergmann List-Id: linux-omap@vger.kernel.org Hi, Looks like commit 39de2c4275a9 ("mfd: syscon: Make use of of_iomap") makes at least MMC PBIAS regulator stop working on omap3. That's probably because of_syscon_register uses the now unintialized struct resource res to set syscon_config.max_register. I have a strange deja vu feeling that we've been through this before :) See commit ca668f0edfae ("mfd: syscon: Set regmap max_register in of_syscon_register") Maybe we should add comments there instead? Regards, Tony