am7xxx-play: remove any usage of ENOTSUP
authorAntonio Ospite <ao2@ao2.it>
Tue, 27 Feb 2018 22:42:32 +0000 (23:42 +0100)
committerAntonio 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