projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7128645
)
drm: bridge: dw-hdmi: remove unused hdmi_bus_fmt_is_yuv420
author
Neil Armstrong
<
[email protected]
>
Wed, 5 Apr 2017 07:32:59 +0000
(09:32 +0200)
committer
Neil Armstrong
<
[email protected]
>
Thu, 6 Apr 2017 08:44:25 +0000
(10:44 +0200)
Remove usused yet hdmi_bus_fmt_is_yuv420 function.
Fixes: def23aa7e982 ("drm: bridge: dw-hdmi: Switch to V4L bus format and encodings")
Signed-off-by: Neil Armstrong <
[email protected]
>
Acked-by: Laurent Pinchart <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index 84cc949eae2b1b3a8423ab67a7dabeeff15b341f..7dd669945b55441b5c25405565529b3d3ef18f1b 100644
(file)
--- a/
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@
-605,20
+605,6
@@
static bool hdmi_bus_fmt_is_yuv422(unsigned int bus_format)
}
}
-static bool hdmi_bus_fmt_is_yuv420(unsigned int bus_format)
-{
- switch (bus_format) {
- case MEDIA_BUS_FMT_UYYVYY8_0_5X24:
- case MEDIA_BUS_FMT_UYYVYY10_0_5X30:
- case MEDIA_BUS_FMT_UYYVYY12_0_5X36:
- case MEDIA_BUS_FMT_UYYVYY16_0_5X48:
- return true;
-
- default:
- return false;
- }
-}
-
static int hdmi_bus_fmt_color_depth(unsigned int bus_format)
{
switch (bus_format) {