From d449cf368687f5bd2d21c4bc5535778bf8a61feb Mon Sep 17 00:00:00 2001 From: Steve Jeong Date: Wed, 3 Apr 2024 02:05:38 +0000 Subject: [PATCH] ODROID-M1/S: driver/gpiomem: Disallow pwm areas In windingPi, Fix the mechanism of PWM controls by not directly accessing the hardware and reading/writing it, but by transferring the value through sysfs. Signed-off-by: Steve Jeong Change-Id: I8f49b8423afcfe762866207d2ff46b91eeb712f4 --- drivers/char/rk3568-gpiomem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/rk3568-gpiomem.c b/drivers/char/rk3568-gpiomem.c index 0a53b4ef45ea..34bafbddc85b 100644 --- a/drivers/char/rk3568-gpiomem.c +++ b/drivers/char/rk3568-gpiomem.c @@ -118,8 +118,6 @@ static int address_is_allowed(unsigned long pfn, unsigned long size) case 0xfdd20000: case 0xfdc20000: case 0xfdd60000: - case 0xfdd70000: - case 0xfe6f0000: case 0xfe740000: case 0xfe750000: case 0xfe760000: