Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4761c603
Commit
4761c603
authored
Feb 24, 2012
by
Florian Tobias Schandinat
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-3.3-rc' of
git://gitorious.org/linux-omap-dss2/linux
into fbdev-for-linus
parents
b01543df
ca888a79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
9 deletions
+24
-9
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/hdmi.c
+23
-1
drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
+1
-8
No files found.
drivers/video/omap2/dss/hdmi.c
View file @
4761c603
...
...
@@ -165,9 +165,25 @@ static int hdmi_runtime_get(void)
DSSDBG
(
"hdmi_runtime_get
\n
"
);
/*
* HACK: Add dss_runtime_get() to ensure DSS clock domain is enabled.
* This should be removed later.
*/
r
=
dss_runtime_get
();
if
(
r
<
0
)
goto
err_get_dss
;
r
=
pm_runtime_get_sync
(
&
hdmi
.
pdev
->
dev
);
WARN_ON
(
r
<
0
);
return
r
<
0
?
r
:
0
;
if
(
r
<
0
)
goto
err_get_hdmi
;
return
0
;
err_get_hdmi:
dss_runtime_put
();
err_get_dss:
return
r
;
}
static
void
hdmi_runtime_put
(
void
)
...
...
@@ -178,6 +194,12 @@ static void hdmi_runtime_put(void)
r
=
pm_runtime_put_sync
(
&
hdmi
.
pdev
->
dev
);
WARN_ON
(
r
<
0
);
/*
* HACK: This is added to complement the dss_runtime_get() call in
* hdmi_runtime_get(). This should be removed later.
*/
dss_runtime_put
();
}
int
hdmi_init_display
(
struct
omap_dss_device
*
dssdev
)
...
...
drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
View file @
4761c603
...
...
@@ -479,14 +479,7 @@ int ti_hdmi_4xxx_read_edid(struct hdmi_ip_data *ip_data,
bool
ti_hdmi_4xxx_detect
(
struct
hdmi_ip_data
*
ip_data
)
{
int
r
;
void
__iomem
*
base
=
hdmi_core_sys_base
(
ip_data
);
/* HPD */
r
=
REG_GET
(
base
,
HDMI_CORE_SYS_SYS_STAT
,
1
,
1
);
return
r
==
1
;
return
gpio_get_value
(
ip_data
->
hpd_gpio
);
}
static
void
hdmi_core_init
(
struct
hdmi_core_video_config
*
video_cfg
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment