mb/google/nissa: Remove gpio lock for garage IRQ pin
commitcd8a3669ac813087bafaf5188a37f961235fb5ef
authorEric Lai <eric_lai@quanta.corp-partner.google.com>
Fri, 24 Jun 2022 07:40:47 +0000 (24 15:40 +0800)
committerFelix Held <felix-coreboot@felixheld.de>
Wed, 29 Jun 2022 13:56:06 +0000 (29 13:56 +0000)
treee83aae3c80e1206c44be6787371209b117232131
parenta8d2cb86b5ed49c1968d908a0652d41689af32ae
mb/google/nissa: Remove gpio lock for garage IRQ pin

Kernel driver will en/disable the IRQ when suspend/resume. If lock
the pin, driver can't change the status which causes the unexpected
behavior. Device will wake when insert the pen. This is workaround
until we figure out the correct setting for driver.

BUG=b:233159811
TEST=Pen garage wake event work as expected.

Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Change-Id: Ifc7b1e52a24c0e7bd54664d59870cb09536ef868
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65380
Reviewed-by: Reka Norman <rekanorman@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/brya/variants/baseboard/nissa/gpio.c