On Tue, Jun 11, 2019 at 10:56:02AM -0600, Robert Hancock wrote: > We were accessing the pointer returned from platform_get_resource before > checking if it was valid, causing an oops if it was not. Move this access > after the call to devm_ioremap_resource which does the validity check. > > Signed-off-by: Robert Hancock <hanc...@sedsystems.ca>
Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew