BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mangoh-drivers
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
mangoh-drivers
Commits
070b9ed4
Commit
070b9ed4
authored
Jan 21, 2019
by
David Frey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtc-pcf85063: break comments at 80 chars
parent
ab881572
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
14 deletions
+12
-14
rtc-pcf85063.c
linux_kernel_modules/rtc-pcf85063/rtc-pcf85063.c
+12
-14
No files found.
linux_kernel_modules/rtc-pcf85063/rtc-pcf85063.c
View file @
070b9ed4
...
...
@@ -7,13 +7,12 @@
*
* based on the other drivers in this same directory.
*
* Sierra Wireless Inc. - Added on functionality to allow
* control of the square-wave clkout frequencies via sysfs entries.
* Note, this was developed in the context of the MangOH Yellow board
* which has the square-wave clkout pin connected to a buzzer. Thus,
* one can drive the buzzer for the allowable frequencies, note
* humans can only recognize 20 - 20KHz (some of us, like your author
* even less).
* Sierra Wireless Inc. - Added on functionality to allow control of the
* square-wave clkout frequencies via sysfs entries. Note, this was developed in
* the context of the MangOH Yellow board which has the square-wave clkout pin
* connected to a buzzer. Thus, one can drive the buzzer for the allowable
* frequencies, note humans can only recognize 20 - 20KHz (some of us, like your
* author even less).
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
...
...
@@ -58,13 +57,12 @@ static const int clkout_freq_table[NUM_FREQUENCIES][2] = {
static
struct
i2c_driver
pcf85063_driver
;
/*
* We need to define a mutex here because the rtc_sync module in MangOH
* can call into rtc_set_time while sysfs is changing the square-wave
* output frequencies. Ditto for rtc_read_time from rtc_sync.
* We wouldn't need the mutex if a workQ handler was defined for this device
* but then the rtc_sync module would not be generic. Just be aware that
* any rtc chip that allows rtc_sync to call into it needs a mutex if any
* other threaded access will concurrently exist.
* We need to define a mutex here because the rtc_sync module in MangOH can call
* into rtc_set_time while sysfs is changing the square-wave output frequencies.
* Ditto for rtc_read_time from rtc_sync. We wouldn't need the mutex if a workQ
* handler was defined for this device but then the rtc_sync module would not be
* generic. Just be aware that any rtc chip that allows rtc_sync to call into it
* needs a mutex if any other threaded access will concurrently exist.
*/
static
DEFINE_MUTEX
(
pcf85063_rtc_mutex
);
...
...
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