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
e3b2a7b6
Commit
e3b2a7b6
authored
Jul 06, 2006
by
Juha Yrjola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CBUS: Make Retu RTC and Tahvo USB drivers use sysfs_notify
Signed-off-by:
Juha Yrjola
<
juha.yrjola@solidboot.com
>
parent
324992f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/cbus/retu-rtc.c
drivers/cbus/retu-rtc.c
+1
-1
drivers/cbus/tahvo-usb.c
drivers/cbus/tahvo-usb.c
+1
-1
No files found.
drivers/cbus/retu-rtc.c
View file @
e3b2a7b6
...
...
@@ -315,7 +315,7 @@ static void retu_rtca_disable(void)
static
void
retu_rtca_expired
(
void
*
data
)
{
retu_rtca_disable
();
kobject_uevent
(
&
retu_rtc_driver
.
kobj
,
KOBJ_CHANGE
);
sysfs_notify
(
&
retu_rtc_driver
.
kobj
,
NULL
,
"alarm_expired"
);
}
DECLARE_WORK
(
retu_rtca_work
,
retu_rtca_expired
,
NULL
);
...
...
drivers/cbus/tahvo-usb.c
View file @
e3b2a7b6
...
...
@@ -310,7 +310,7 @@ static void check_vbus_state(struct tahvo_usb *tu)
prev_state
=
tu
->
vbus_state
;
tu
->
vbus_state
=
reg
&
0x01
;
if
(
prev_state
!=
tu
->
vbus_state
)
kobject_uevent
(
&
tu
->
pt_dev
->
dev
.
kobj
,
KOBJ_CHANGE
);
sysfs_notify
(
&
tu
->
pt_dev
->
dev
.
kobj
,
NULL
,
"vbus_state"
);
}
static
void
tahvo_usb_become_host
(
struct
tahvo_usb
*
tu
)
...
...
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