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
Kirill Smelkov
linux
Commits
106e7cf3
Commit
106e7cf3
authored
Dec 08, 2011
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'work-next' into staging-next
parents
19324328
5a2a6e11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
drivers/staging/iio/industrialio-buffer.c
drivers/staging/iio/industrialio-buffer.c
+2
-10
No files found.
drivers/staging/iio/industrialio-buffer.c
View file @
106e7cf3
...
...
@@ -173,7 +173,7 @@ static ssize_t iio_scan_el_store(struct device *dev,
error_ret:
mutex_unlock
(
&
indio_dev
->
mlock
);
return
ret
?
ret
:
len
;
return
ret
<
0
?
ret
:
len
;
}
...
...
@@ -624,16 +624,8 @@ int iio_scan_mask_query(struct iio_dev *indio_dev,
if
(
!
buffer
->
scan_mask
)
return
0
;
if
(
indio_dev
->
available_scan_masks
)
mask
=
iio_scan_mask_match
(
indio_dev
->
available_scan_masks
,
indio_dev
->
masklength
,
buffer
->
scan_mask
);
else
mask
=
buffer
->
scan_mask
;
if
(
!
mask
)
return
0
;
return
test_bit
(
bit
,
mask
);
return
test_bit
(
bit
,
buffer
->
scan_
mask
);
};
EXPORT_SYMBOL_GPL
(
iio_scan_mask_query
);
...
...
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