On 3/10/2016 2:58 AM, Dan Carpenter wrote: > -1 is a magic number which stands for -EPERM which is wrong. Use > -ENODEV.
OK. done. -- Sinan Kaya Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project