#!/bin/sh SRC_TREE=../../../../ test_run() { sysctl -w net.core.bpf_jit_enable=$1 2>&1 > /dev/null sysctl -w net.core.bpf_jit_harden=$2 2>&1 > /dev/null echo "[ JIT enabled:$1 hardened:$2 ]" dmesg -C insmod $SRC_TREE/lib/test_bpf.ko 2> /dev/null if [ $? -ne 0 ]; then rc=1 fi rmmod test_bpf 2> /dev/null dmesg | grep FAIL } test_save() { JE=`sysctl -n net.core.bpf_jit_enable` JH=`sysctl -n net.core.bpf_jit_harden` } test_restore() { sysctl -w net.core.bpf_jit_enable=$JE 2>&1 > /dev/null sysctl -w net.core.bpf_jit_harden=$JH 2>&1 > /dev/null } rc=0 test_save test_run 0 0 test_run 1 0 test_run 1 1 test_run 1 2 test_restore exit $rc cgit'>
summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock/hi3519-clock.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-11-12 15:22:38 +0100
committerMark Brown <broonie@kernel.org>2016-11-13 09:22:37 +0000
commit295070e9aa015abb9b92cccfbb1e43954e938133 (patch)
treed0a08e7ce280bc877e22424437dbe59fa1857d9a /include/dt-bindings/clock/hi3519-clock.h
parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: stw481x-vmmc: fix ages old enable error
The regulator has never been properly enabled, it has been dormant all the time. It's strange that MMC was working at all, but it likely worked by the signals going through the levelshifter and reaching the card anyways. Fixes: 3615a34ea1a6 ("regulator: add STw481x VMMC driver") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'include/dt-bindings/clock/hi3519-clock.h')