]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/ps3fb.c
ps3fb: do not print warnings on invalid frame numbers
[linux-2.6-omap-h63xx.git] / drivers / video / ps3fb.c
index eb8afc7ace03cb5f073031a7c44f197941231797..49069dba1b5d66171d046688603daf81e56c0947 100644 (file)
@@ -389,8 +389,8 @@ static int ps3fb_sync(struct fb_info *info, u32 frame)
        yres = ps3fb_res[i].yres;
 
        if (frame > ps3fb.num_frames - 1) {
-               dev_warn(info->device, "%s: invalid frame number (%u)\n",
-                        __func__, frame);
+               dev_dbg(info->device, "%s: invalid frame number (%u)\n",
+                       __func__, frame);
                return -EINVAL;
        }
        offset = xres * yres * BPP * frame;