projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
1897858
)
am7xxx-play: remove any usage of ENOTSUP
author
Antonio Ospite <ao2@ao2.it>
Tue, 27 Feb 2018 22:42:32 +0000
(23:42 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Tue, 27 Feb 2018 22:42:32 +0000
(23:42 +0100)
There's really no need to use ENOTSUP here, the return value is not
checked against the specific value, but just for the sign.
Replacing it with EINVAL makes the code more aligned with the other
error paths and also allows to remove a conditional define.
No differences found