|
@@ -1246,12 +1246,12 @@ static int s5p_jpeg_querycap(struct file *file, void *priv,
|
|
|
struct s5p_jpeg_ctx *ctx = fh_to_ctx(priv);
|
|
|
|
|
|
if (ctx->mode == S5P_JPEG_ENCODE) {
|
|
|
- strlcpy(cap->driver, S5P_JPEG_M2M_NAME " encoder",
|
|
|
+ strlcpy(cap->driver, S5P_JPEG_M2M_NAME,
|
|
|
sizeof(cap->driver));
|
|
|
strlcpy(cap->card, S5P_JPEG_M2M_NAME " encoder",
|
|
|
sizeof(cap->card));
|
|
|
} else {
|
|
|
- strlcpy(cap->driver, S5P_JPEG_M2M_NAME " decoder",
|
|
|
+ strlcpy(cap->driver, S5P_JPEG_M2M_NAME,
|
|
|
sizeof(cap->driver));
|
|
|
strlcpy(cap->card, S5P_JPEG_M2M_NAME " decoder",
|
|
|
sizeof(cap->card));
|