On pondělí 19. února 2018 21:50:21 CET, Jan Kundrát wrote:
In commit 9b3e4207661e I introduced a regression on MCP23S18 where probing would always fail with ENOMEM. Unlike the xxx08 and xxx17 variants, the MCP23S18 does not support SPI addressing, and therefore there are no duplicate debugfs entries for this particular chip, ever. That's why this code should not care about the one_regmap_config being NULL. That variable is not used in this branch at all. Sorry, and thanks for catching this early. Signed-off-by: Jan Kundrát <jan.kundrat@xxxxxxxxx> Reported-by: Phil Reid <preid@xxxxxxxxxxxxxxxxx> Fixes: 9b3e4207661e ("pinctrl: mcp23s08: spi: Fix regmap debugfs entries")
Gah, sorry, I missed that Phil already sent a patch which fixes this. Please ignore my patch above. I'm having a bad day, apparently :(.
Sorry for noise, Jan -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html