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
nexedi
linux
Commits
2b4ec22d
Commit
2b4ec22d
authored
Aug 01, 2018
by
Jonathan Cameron
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes-togreg' into togreg
parents
2fa03b92
1e96e93a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/iio/frequency/ad9523.c
drivers/iio/frequency/ad9523.c
+1
-1
drivers/iio/light/si1133.c
drivers/iio/light/si1133.c
+1
-1
No files found.
drivers/iio/frequency/ad9523.c
View file @
2b4ec22d
...
...
@@ -522,7 +522,7 @@ static ssize_t ad9523_store(struct device *dev,
return
ret
;
if
(
!
state
)
return
0
;
return
len
;
mutex_lock
(
&
st
->
lock
);
switch
((
u32
)
this_attr
->
address
)
{
...
...
drivers/iio/light/si1133.c
View file @
2b4ec22d
...
...
@@ -838,7 +838,7 @@ static int si1133_write_raw(struct iio_dev *iio_dev,
switch
(
chan
->
type
)
{
case
IIO_INTENSITY
:
case
IIO_UVINDEX
:
if
(
val
!=
0
||
val
!=
1
)
if
(
val
!=
0
&&
val
!=
1
)
return
-
EINVAL
;
return
si1133_update_adcsens
(
data
,
...
...
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