lkml.org 
[lkml]   [2011]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Re: [PATCH 4/8] Input: twl6040-vibra: Check the selected path for vibra
Date
On Friday 16 September 2011 10:26:41 Liam Girdwood wrote:
> > + /* Do not allow effect, while the routing is set to use audio */
> > + ret = twl6040_get_vibralr_status(info->twl6040);
> > + if (ret & TWL6040_VIBSEL) {
> > + dev_info(&input->dev, "Vibra is configured for audio\n");
> > + return -EPERM;
> > + }
>
> Sorry, missed this earlier.
>
> Probably best to return -EBUSY here otherwise it may look like a device
> permissions problem to some users.

I'll change it.

Thanks,
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-09-16 13:13    [W:0.066 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site