From f744cf4d05cbe4128fb23e081534e57fa73ad8a9 Mon Sep 17 00:00:00 2001 From: martii Date: Sun, 27 Jan 2013 19:45:34 +0100 Subject: [PATCH] spark_fp: fix last patch, no binary change --- tools/spark_fp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/spark_fp.c b/tools/spark_fp.c index 70a6689..02e82d0 100644 --- a/tools/spark_fp.c +++ b/tools/spark_fp.c @@ -232,10 +232,10 @@ int main(int argc, char **argv) ret = ioctl(fd, VFDSETPOWERONTIME, &t); break; case 'P': + ret = ioctl(fd, VFDPOWEROFF, &t); #else ret = ioctl(fd, VFDSTANDBY, &t); #endif - ret = ioctl(fd, VFDPOWEROFF, &t); /* driver always returns einval here... if (ret < 0) perror("ioctl VFDSTANDBY");