Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
5c0038ef
Commit
5c0038ef
authored
May 23, 2009
by
Ramesh Gupta
Committed by
Hari Kanigeri
Aug 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issues with notify_disable/restore Fix issues with notify_disable/restore
Signed-off-by:
Ramesh Gupta G
<
grgupta@ti.com
>
parent
077c33eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
drivers/dsp/syslink/omap_notify/notify.c
drivers/dsp/syslink/omap_notify/notify.c
+6
-8
No files found.
drivers/dsp/syslink/omap_notify/notify.c
View file @
5c0038ef
...
@@ -328,9 +328,11 @@ u32 notify_disable(u16 proc_id)
...
@@ -328,9 +328,11 @@ u32 notify_disable(u16 proc_id)
NOTIFY_DRIVERINITSTATUS_NOTDONE
)
{
NOTIFY_DRIVERINITSTATUS_NOTDONE
)
{
WARN_ON
(
1
);
WARN_ON
(
1
);
}
else
{
}
else
{
drv_handle
->
disable_flag
[
notify_state
.
disable_depth
]
=
if
(
drv_handle
->
fn_table
.
disable
)
{
(
u32
*
)
drv_handle
->
fn_table
.
disable
drv_handle
->
disable_flag
[
notify_state
.
disable_depth
]
=
(
drv_handle
,
proc_id
);
(
u32
*
)
drv_handle
->
fn_table
.
disable
(
drv_handle
,
proc_id
);
}
}
}
}
}
notify_state
.
disable_depth
++
;
notify_state
.
disable_depth
++
;
...
@@ -363,12 +365,8 @@ void notify_restore (u32 key, u16 proc_id)
...
@@ -363,12 +365,8 @@ void notify_restore (u32 key, u16 proc_id)
notify_state
.
disable_depth
--
;
notify_state
.
disable_depth
--
;
for
(
i
=
0
;
i
<
notify_state
.
cfg
.
maxDrivers
;
i
++
)
{
for
(
i
=
0
;
i
<
notify_state
.
cfg
.
maxDrivers
;
i
++
)
{
drv_handle
=
&
(
notify_state
.
drivers
[
i
]);
drv_handle
=
&
(
notify_state
.
drivers
[
i
]);
if
(
drv_handle
->
is_init
!=
if
(
drv_handle
->
fn_table
.
restore
)
NOTIFY_DRIVERINITSTATUS_NOTDONE
)
{
WARN_ON
(
1
);
}
else
{
drv_handle
->
fn_table
.
restore
(
drv_handle
,
key
,
proc_id
);
drv_handle
->
fn_table
.
restore
(
drv_handle
,
key
,
proc_id
);
}
}
}
mutex_unlock
(
notify_state
.
gate_handle
);
mutex_unlock
(
notify_state
.
gate_handle
);
return
;
return
;
...
...
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