Message ID | 1357475581-680-1-git-send-email-sylvester.nawrocki@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/platform/s5p-tv/mixer_video.c b/drivers/media/platform/s5p-tv/mixer_video.c index 7379e77..405414f 100644 --- a/drivers/media/platform/s5p-tv/mixer_video.c +++ b/drivers/media/platform/s5p-tv/mixer_video.c @@ -324,10 +324,9 @@ static int mxr_s_fmt(struct file *file, void *priv, pix = &f->fmt.pix_mp; fmt = find_format_by_fourcc(layer, pix->pixelformat); if (fmt == NULL) { - mxr_warn(mdev, "not recognized fourcc: %08x\n", + mxr_dbg(mdev, "not recognized fourcc: %08x\n", pix->pixelformat); - return -EINVAL; + fmt = layer->fmt_array[0]; } layer->fmt = fmt; /* set source size to highest accepted value */ --