Comment 13 for bug 1612006

Revision history for this message
Alex Hung (alexhung) wrote :

AMD suggested that their fixes (as below?) are for kernel 4.4 only. The kernel 4.4 with the two patches are available @ http://people.canonical.com/~alexhung/LP1612006/kernel4.4/

commit 0a77abf18ef6a7afe4fb300ec22aa8e1a98c5730
Author: Agrawal, Nitesh-kumar <email address hidden>
Date: Fri Sep 9 15:18:09 2016 +0000

    pinctrl/amd: switch to using a bool for level

    The earlier patch can be simplified by using a bool
    to indicate level trigger.

    Reviewed-by: Pankaj Sen <email address hidden>
    Signed-off-by: Nitesh Kumar Agrawal <email address hidden>
    [Fixup to earlier manually applied patch]
    Signed-off-by: Linus Walleij <email address hidden>

    (cherry picked from commit e084448b5d26bfebe8a7b9c43bb57e685567563d)
    Signed-off-by: Alex Hung <email address hidden>

commit af2f2fcfb793a73b8d1f98004e0e281173719128
Author: Agrawal, Nitesh-kumar <email address hidden>
Date: Wed Aug 31 08:50:49 2016 +0000

    pinctrl/amd: Configure GPIO register using BIOS settings

    In the function amd_gpio_irq_set_type, use the settings provided by
    the BIOS,when the LevelTrig is Edge and activeLevel is HIGH, to configure
    the GPIO registers. Ignore the settings from client.

    Reviewed-by: Pankaj Sen <email address hidden>
    Signed-off-by:Nitesh Kumar Agrawal <email address hidden>
    Signed-off-by: Linus Walleij <email address hidden>
    (cherry picked from commit 499c7196dd182ba513ccb9620ee22aed3f9096fd)
    Signed-off-by: Alex Hung <email address hidden>