Currently, the driver crashes with tons of
gpiochip_irq_unmask+0x30/0x40.

Removing the key for now will prevent the
kernel from panicking, so that the development
can go on.

Signed-off-by: Konrad Dybcio <[email protected]>
---
 .../boot/dts/qcom/sdm630-sony-xperia-nile.dtsi      | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi 
b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
index 9fe800d547cb..3646890040b3 100644
--- a/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile.dtsi
@@ -63,14 +63,11 @@ camera_snapshot {
                        debounce-interval = <15>;
                };
 
-               vol_down {
-                       label = "Volume Down";
-                       gpios = <&pm660l_gpios 7 GPIO_ACTIVE_LOW>;
-                       linux,input-type = <1>;
-                       linux,code = <KEY_VOLUMEDOWN>;
-                       gpio-key,wakeup;
-                       debounce-interval = <15>;
-               };
+               /* Nile also uses gpio-keys for
+                * Volume Down,  but currently there's an
+                * issue with it that has to be resolved.
+                * Until then, let's not make the kernel panic
+                */
        };
 
        reserved-memory {
-- 
2.27.0

Reply via email to