projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eb6ae0
)
hdmi:anx7150:when resolution not support by EDID, use other supported resolution
author
yzq
<yzq@rockchips.com>
Tue, 17 Apr 2012 08:35:41 +0000
(16:35 +0800)
committer
yzq
<yzq@rockchips.com>
Tue, 17 Apr 2012 08:39:05 +0000
(16:39 +0800)
drivers/video/hdmi/chips/anx7150/anx7150.c
patch
|
blob
|
history
diff --git
a/drivers/video/hdmi/chips/anx7150/anx7150.c
b/drivers/video/hdmi/chips/anx7150/anx7150.c
index 8a6239cf1c1984183231de425babb9cd3f3e9cfd..0310da6eff123afe03dc116c3db982159cf828d9 100644
(file)
--- a/
drivers/video/hdmi/chips/anx7150/anx7150.c
+++ b/
drivers/video/hdmi/chips/anx7150/anx7150.c
@@
-44,8
+44,9
@@
static int anx7150_param_chg(struct anx7150_pdata *anx)
{
\r
int resolution_real;
\r
\r
- hdmi_switch_fb(anx->hdmi, HDMI_ENABLE);
\r
resolution_real = ANX7150_Get_Optimal_resolution(anx->hdmi->resolution);
\r
+ anx->hdmi->resolution = resolution_real;
\r
+ hdmi_switch_fb(anx->hdmi, HDMI_ENABLE);
\r
HDMI_Set_Video_Format(resolution_real);
\r
HDMI_Set_Audio_Fs(anx->hdmi->audio_fs);
\r
ANX7150_API_HDCP_ONorOFF(anx->hdmi->hdcp_on);
\r