From: Antonio Ospite Date: Tue, 27 Feb 2018 22:42:32 +0000 (+0100) Subject: am7xxx-play: remove any usage of ENOTSUP X-Git-Tag: v0.1.7~15 X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/18978589ed6ae1ddef52ae892b2c224b545ec29a?hp=18978589ed6ae1ddef52ae892b2c224b545ec29a;ds=sidebyside am7xxx-play: remove any usage of ENOTSUP 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. ---