greybus: audio_apbridgea: fix two return values
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 19 May 2016 14:20:15 +0000 (16:20 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 20 May 2016 23:36:43 +0000 (16:36 -0700)
commitdeda6aaf666706346866b7d828098ba9bacfb742
treebf55dc3b34bd302e8627b1fd7f799343096f3369
parent0bba4fb53adff8ee1538a654bfb5ac79298cc5dc
greybus: audio_apbridgea: fix two return values

Errno -ENOSYS is reserved for missing syscalls, replace it with
-EOPNOTSUPP for the the two stub operations that used it.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio_apbridgea.c