On Mon, Aug 31, 2015 at 07:26:57PM +0100, Marc Zyngier wrote: > which never considers bus to be NULL in __regmap_init. With the > following patch applied, I can boot to a prompt: > > From 031eae5a1b34f952ba3dcaecb4eb4ec9d3bda352 Mon Sep 17 00:00:00 2001 > From: Marc Zyngier <marc.zyngier@xxxxxxx> > Date: Mon, 31 Aug 2015 19:16:16 +0100 > Subject: [PATCH] regmap: Fix max_raw_read/write handling when bus is NULL Please submit patches using the process documented in SubmittingPatches, don't bury them in the middle of a reply to some random other thread where they can't be applied without handholding :( > - map->max_raw_read = bus->max_raw_read; > - map->max_raw_write = bus->max_raw_write; > + map->max_raw_read = bus ? bus->max_raw_read : 0; > + map->max_raw_write = bus ? bus->max_raw_write : 0; A more legible version of this patch was already applied.
Attachment:
signature.asc
Description: Digital signature