mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
sound: annotate ->poll() instances
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
0d9b87f3ba
commit
680ef72abd
25 changed files with 49 additions and 49 deletions
|
|
@ -239,7 +239,7 @@ static long snd_usb_sbrc_hwdep_read(struct snd_hwdep *hw, char __user *buf,
|
|||
return err < 0 ? err : count;
|
||||
}
|
||||
|
||||
static unsigned int snd_usb_sbrc_hwdep_poll(struct snd_hwdep *hw, struct file *file,
|
||||
static __poll_t snd_usb_sbrc_hwdep_poll(struct snd_hwdep *hw, struct file *file,
|
||||
poll_table *wait)
|
||||
{
|
||||
struct usb_mixer_interface *mixer = hw->private_data;
|
||||
|
|
|
|||
|
|
@ -271,12 +271,12 @@ out:
|
|||
return err;
|
||||
}
|
||||
|
||||
static unsigned int usb_stream_hwdep_poll(struct snd_hwdep *hw,
|
||||
static __poll_t usb_stream_hwdep_poll(struct snd_hwdep *hw,
|
||||
struct file *file, poll_table *wait)
|
||||
{
|
||||
struct us122l *us122l = hw->private_data;
|
||||
unsigned *polled;
|
||||
unsigned int mask;
|
||||
__poll_t mask;
|
||||
|
||||
poll_wait(file, &us122l->sk.sleep, wait);
|
||||
|
||||
|
|
|
|||
|
|
@ -86,9 +86,9 @@ static int snd_us428ctls_mmap(struct snd_hwdep * hw, struct file *filp, struct v
|
|||
return 0;
|
||||
}
|
||||
|
||||
static unsigned int snd_us428ctls_poll(struct snd_hwdep *hw, struct file *file, poll_table *wait)
|
||||
static __poll_t snd_us428ctls_poll(struct snd_hwdep *hw, struct file *file, poll_table *wait)
|
||||
{
|
||||
unsigned int mask = 0;
|
||||
__poll_t mask = 0;
|
||||
struct usX2Ydev *us428 = hw->private_data;
|
||||
struct us428ctls_sharedmem *shm = us428->us428ctls_sharedmem;
|
||||
if (us428->chip_status & USX2Y_STAT_CHIP_HUP)
|
||||
|
|
|
|||
Loading…
Reference in a new issue