From 05cc028b1f161fbf7ad20bee57b9386f8564790a 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 Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/f744cf4d05cbe4128fb23e081534e57fa73ad8a9 Author: martii Date: 2013-01-27 (Sun, 27 Jan 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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");