selftests: media_dcevice_test fix to handle ioctl failure case
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 25 Feb 2016 17:17:42 +0000 (10:17 -0700)
committerShuah Khan <shuahkh@osg.samsung.com>
Fri, 26 Feb 2016 00:22:36 +0000 (17:22 -0700)
commit36d3f7d8204dabc225febdeca9db8a3114cc9b6d
treeae718929c8ddf3c855d9ca1581245034f2696722
parent3b48bfc0ab997d43fa89190c769a881db853c569
selftests: media_dcevice_test fix to handle ioctl failure case

Fix to print information returned by ioctl only when
it returns success.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/media_tests/media_device_test.c