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
53e43d01
Commit
53e43d01
authored
Jun 29, 2008
by
Jesper Nilsson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pcf8563_mutex_spinlock' into cris
parents
dc1493af
9be48a94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/cris/arch-v10/drivers/pcf8563.c
arch/cris/arch-v10/drivers/pcf8563.c
+1
-1
arch/cris/arch-v32/drivers/pcf8563.c
arch/cris/arch-v32/drivers/pcf8563.c
+1
-1
No files found.
arch/cris/arch-v10/drivers/pcf8563.c
View file @
53e43d01
...
@@ -233,7 +233,7 @@ int pcf8563_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
...
@@ -233,7 +233,7 @@ int pcf8563_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
if
(
copy_to_user
((
struct
rtc_time
*
)
arg
,
&
tm
,
if
(
copy_to_user
((
struct
rtc_time
*
)
arg
,
&
tm
,
sizeof
tm
))
{
sizeof
tm
))
{
spin
_unlock
(
&
rtc_lock
);
mutex
_unlock
(
&
rtc_lock
);
return
-
EFAULT
;
return
-
EFAULT
;
}
}
...
...
arch/cris/arch-v32/drivers/pcf8563.c
View file @
53e43d01
...
@@ -229,7 +229,7 @@ int pcf8563_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
...
@@ -229,7 +229,7 @@ int pcf8563_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
if
(
copy_to_user
((
struct
rtc_time
*
)
arg
,
&
tm
,
if
(
copy_to_user
((
struct
rtc_time
*
)
arg
,
&
tm
,
sizeof
tm
))
{
sizeof
tm
))
{
spin
_unlock
(
&
rtc_lock
);
mutex
_unlock
(
&
rtc_lock
);
return
-
EFAULT
;
return
-
EFAULT
;
}
}
...
...
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