]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: loongson-64bit: Correct Loongson-7A2000 ACPI GPIO access mode
authorBinbin Zhou <zhoubinbin@loongson.cn>
Tue, 10 Jun 2025 11:59:26 +0000 (19:59 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 11 Jun 2025 12:33:26 +0000 (14:33 +0200)
commit72f37957007d25f4290e3ba40d40aaec1dd0b0cf
tree50b9bd4c1fe0be0c6caaf81ce0ff34c3c8cbba02
parente0d4a0f1d066f14522049e827107a577444d9183
gpio: loongson-64bit: Correct Loongson-7A2000 ACPI GPIO access mode

According to the description of the Loongson-7A2000 ACPI GPIO register in
the manual, its access mode should be BIT_CTRL_MODE, otherwise there maybe
some unpredictable behavior.

Cc: stable@vger.kernel.org
Fixes: 44fe79020b91 ("gpio: loongson-64bit: Add more gpio chip support")
Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Reviewed-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://lore.kernel.org/r/20250610115926.347845-1-zhoubinbin@loongson.cn
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-loongson-64bit.c