raw/skeleton: fix device start test
authorShreyansh Jain <shreyansh.jain@nxp.com>
Tue, 6 Feb 2018 06:43:38 +0000 (12:13 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Feb 2018 16:32:34 +0000 (17:32 +0100)
commita76ec6fe90341dca7f17e000630a88ea6de22c26
treefa0e090400cb995b411049df93e7a1f8008d548f
parentc6e536e38437fc44f2e23270e85115ce91618fb2
raw/skeleton: fix device start test

Device can only be started if firmware is loaded, as per Skeleton
rawdev driver semantics. This patch fixes original implementation
which attempted to start the device without loading firmware.

Fixes: 55ca1b0f2151 ("raw/skeleton: add test cases")
Cc: shreyansh.jain@nxp.com
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/raw/skeleton_rawdev/skeleton_rawdev_test.c