diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2018-01-15 11:04:22 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-01-15 11:04:22 -0500 |
commit | de4b74bda8e87a4ed45ebc2c26cc3e2eaae38429 (patch) | |
tree | 80358b2fe3fe38bde0b3f6cd410521f3ab2e70a9 | |
parent | 84df64956bf4d71a831a4cac5fca5b1985eba654 (diff) |
video: udlfb: Remove noisy warnings
These warnings comes from times of driver development and do
not carry any usefull debugging information.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
-rw-r--r-- | drivers/video/fbdev/udlfb.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/video/fbdev/udlfb.c b/drivers/video/fbdev/udlfb.c index d4e15d97a264..4a6644432970 100644 --- a/drivers/video/fbdev/udlfb.c +++ b/drivers/video/fbdev/udlfb.c | |||
@@ -921,11 +921,7 @@ static void dlfb_free(struct kref *kref) | |||
921 | struct dlfb_data *dev = container_of(kref, struct dlfb_data, kref); | 921 | struct dlfb_data *dev = container_of(kref, struct dlfb_data, kref); |
922 | 922 | ||
923 | vfree(dev->backing_buffer); | 923 | vfree(dev->backing_buffer); |
924 | |||
925 | kfree(dev->edid); | 924 | kfree(dev->edid); |
926 | |||
927 | pr_warn("freeing dlfb_data %p\n", dev); | ||
928 | |||
929 | kfree(dev); | 925 | kfree(dev); |
930 | } | 926 | } |
931 | 927 | ||
@@ -942,8 +938,6 @@ static void dlfb_free_framebuffer(struct dlfb_data *dev) | |||
942 | struct fb_info *info = dev->info; | 938 | struct fb_info *info = dev->info; |
943 | 939 | ||
944 | if (info) { | 940 | if (info) { |
945 | int node = info->node; | ||
946 | |||
947 | unregister_framebuffer(info); | 941 | unregister_framebuffer(info); |
948 | 942 | ||
949 | if (info->cmap.len != 0) | 943 | if (info->cmap.len != 0) |
@@ -958,8 +952,6 @@ static void dlfb_free_framebuffer(struct dlfb_data *dev) | |||
958 | 952 | ||
959 | /* Assume info structure is freed after this point */ | 953 | /* Assume info structure is freed after this point */ |
960 | framebuffer_release(info); | 954 | framebuffer_release(info); |
961 | |||
962 | pr_warn("fb_info for /dev/fb%d has been freed\n", node); | ||
963 | } | 955 | } |
964 | 956 | ||
965 | /* ref taken in probe() as part of registering framebfufer */ | 957 | /* ref taken in probe() as part of registering framebfufer */ |
@@ -1060,8 +1052,6 @@ static int dlfb_ops_set_par(struct fb_info *info) | |||
1060 | u16 *pix_framebuffer; | 1052 | u16 *pix_framebuffer; |
1061 | int i; | 1053 | int i; |
1062 | 1054 | ||
1063 | pr_notice("set_par mode %dx%d\n", info->var.xres, info->var.yres); | ||
1064 | |||
1065 | result = dlfb_set_video_mode(dev, &info->var); | 1055 | result = dlfb_set_video_mode(dev, &info->var); |
1066 | 1056 | ||
1067 | if ((result == 0) && (dev->fb_count == 0)) { | 1057 | if ((result == 0) && (dev->fb_count == 0)) { |
@@ -1164,8 +1154,6 @@ static int dlfb_realloc_framebuffer(struct dlfb_data *dev, struct fb_info *info) | |||
1164 | unsigned char *new_fb; | 1154 | unsigned char *new_fb; |
1165 | unsigned char *new_back = NULL; | 1155 | unsigned char *new_back = NULL; |
1166 | 1156 | ||
1167 | pr_warn("Reallocating framebuffer. Addresses will change!\n"); | ||
1168 | |||
1169 | new_len = info->fix.line_length * info->var.yres; | 1157 | new_len = info->fix.line_length * info->var.yres; |
1170 | 1158 | ||
1171 | if (PAGE_ALIGN(new_len) > old_len) { | 1159 | if (PAGE_ALIGN(new_len) > old_len) { |
@@ -1415,9 +1403,6 @@ static ssize_t edid_show( | |||
1415 | if (off + count > dev->edid_size) | 1403 | if (off + count > dev->edid_size) |
1416 | count = dev->edid_size - off; | 1404 | count = dev->edid_size - off; |
1417 | 1405 | ||
1418 | pr_info("sysfs edid copy %p to %p, %d bytes\n", | ||
1419 | dev->edid, buf, (int) count); | ||
1420 | |||
1421 | memcpy(buf, dev->edid, count); | 1406 | memcpy(buf, dev->edid, count); |
1422 | 1407 | ||
1423 | return count; | 1408 | return count; |
@@ -1443,7 +1428,6 @@ static ssize_t edid_store( | |||
1443 | if (!dev->edid || memcmp(src, dev->edid, src_size)) | 1428 | if (!dev->edid || memcmp(src, dev->edid, src_size)) |
1444 | return -EINVAL; | 1429 | return -EINVAL; |
1445 | 1430 | ||
1446 | pr_info("sysfs written EDID is new default\n"); | ||
1447 | dlfb_ops_set_par(fb_info); | 1431 | dlfb_ops_set_par(fb_info); |
1448 | return src_size; | 1432 | return src_size; |
1449 | } | 1433 | } |
@@ -1827,8 +1811,6 @@ static void dlfb_free_urb_list(struct dlfb_data *dev) | |||
1827 | int ret; | 1811 | int ret; |
1828 | unsigned long flags; | 1812 | unsigned long flags; |
1829 | 1813 | ||
1830 | pr_notice("Freeing all render urbs\n"); | ||
1831 | |||
1832 | /* keep waiting and freeing, until we've got 'em all */ | 1814 | /* keep waiting and freeing, until we've got 'em all */ |
1833 | while (count--) { | 1815 | while (count--) { |
1834 | 1816 | ||
@@ -1907,8 +1889,6 @@ static int dlfb_alloc_urb_list(struct dlfb_data *dev, int count, size_t size) | |||
1907 | dev->urbs.count = i; | 1889 | dev->urbs.count = i; |
1908 | dev->urbs.available = i; | 1890 | dev->urbs.available = i; |
1909 | 1891 | ||
1910 | pr_notice("allocated %d %d byte urbs\n", i, (int) size); | ||
1911 | |||
1912 | return i; | 1892 | return i; |
1913 | } | 1893 | } |
1914 | 1894 | ||