Skip to content
Commit 5ccc8dab authored by Arnaud Patard's avatar Arnaud Patard Committed by Nicolas Pitre
Browse files

[ARM] dns323-setup.c: fix WARN() when booting



Since commit b2a731aa, dns323_init() is
setting the power led gpio direction with gpio_direction_output() but
doesn't request the gpio before (which is not permitted by the gpio
layer afaik). This behaviour is triggering a WARN() at boot time.

Tested-by: default avatarChristian Samsel <csamsel@gmxpro.de>
Cc: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
    [ Part 2: "Attached Text" ]
parent d8f089d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment