OSDN Git Service

staging: bcm2835-audio: propagate PTR_ERR value instead of -EPERM
authorAishwarya Pant <aishpant@gmail.com>
Sun, 12 Mar 2017 15:39:14 +0000 (21:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Mar 2017 23:57:53 +0000 (07:57 +0800)
commit5e00b25853ef2d5602d14f0e6039268cc89e6afe
tree2033e4cd9506e9ca71512688bb5e8c646dd032a0
parentd676e37fb656a091653b61c38357c228353f09fe
staging: bcm2835-audio: propagate PTR_ERR value instead of -EPERM

It is better to propagate PTR_ERR value instead of a hardcoded value
(-EPERM here)

Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c