lkml.org 
[lkml]   [2020]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] MIPS: ingenic: gcw0: Fix HP detection GPIO.
    Date
    Previously marked as active high, but is in reality active low.

    Cc: stable@vger.kernel.org
    Fixes: b1bfdb660516 ("MIPS: ingenic: DTS: Update GCW0 support")
    Signed-off-by: João H. Spies <jhlspies@gmail.com>
    ---
    arch/mips/boot/dts/ingenic/gcw0.dts | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/mips/boot/dts/ingenic/gcw0.dts b/arch/mips/boot/dts/ingenic/gcw0.dts
    index 8d22828787d8..bc72304a2440 100644
    --- a/arch/mips/boot/dts/ingenic/gcw0.dts
    +++ b/arch/mips/boot/dts/ingenic/gcw0.dts
    @@ -92,7 +92,7 @@
    "MIC1N", "Built-in Mic";
    simple-audio-card,pin-switches = "Speaker", "Headphones";

    - simple-audio-card,hp-det-gpio = <&gpf 21 GPIO_ACTIVE_HIGH>;
    + simple-audio-card,hp-det-gpio = <&gpf 21 GPIO_ACTIVE_LOW>;
    simple-audio-card,aux-devs = <&speaker_amp>, <&headphones_amp>;

    simple-audio-card,bitclock-master = <&dai_codec>;
    --
    2.17.1
    \
     
     \ /
      Last update: 2020-06-23 23:22    [W:4.070 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site