summaryrefslogtreecommitdiff
path: root/yavta.c
diff options
context:
space:
mode:
Diffstat (limited to 'yavta.c')
-rw-r--r--yavta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index c8706df..546b91d 100644
--- a/yavta.c
+++ b/yavta.c
@@ -1944,6 +1944,8 @@ static int video_load_test_pattern(struct device *dev, const char *filename)
ret = -EINVAL;
goto done;
}
+
+ size = ret;
} else {
uint8_t *data = dev->pattern[plane];
unsigned int i;