On Tue, Mar 10, 2015 at 6:15 PM, qipeng.zha <qipeng.zha@xxxxxxxxx> wrote: > From: "qipeng.zha" <qipeng.zha@xxxxxxxxx> > > If GPIO driver use pin mapping, need to translate pin number > between ACPI table and GPIO driver. > > This issue is found on one platform with Cherryview gpio > controller, kernel is hang when executed _PS0 method of > one ACPI device, since without this translation, it access > invalid gpiodesc array. > > Verified it works again with this patch. > > Signed-off-by: qipeng.zha <qipeng.zha@xxxxxxxxx> Patch applied with Mika's ACK. Yours, Linus Walleij -- 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