android_kernel_xiaomi_sm8350/drivers/media/video/em28xx
Nicola Soranzo 7662b00c37 V4L/DVB (10659): em28xx: register device to soundcard for sysfs
As explained in "Writing an ALSA driver" (T. Iwai), audio drivers should
set the struct device for the card before registering the card instance.
This will add the correct /sys/class/sound/cardN/device symlink, so HAL
can see the device and ConsoleKit sets its ACL permissions for the
logged-in user.

For em28xx audio capture cards found e.g. in Hauppauge WinTV-HVR-900 (R2),
this patch fixes errors like:

ALSA lib pcm_hw.c:1429:(_snd_pcm_hw_open) Invalid value for card
Error opening audio: Permission denied

when running mplayer as a normal user.

Signed-off-by: Nicola Soranzo <nsoranzo@tiscali.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-02-26 22:29:18 -03:00
..
em28xx-audio.c V4L/DVB (10659): em28xx: register device to soundcard for sysfs 2009-02-26 22:29:18 -03:00
em28xx-cards.c V4L/DVB (10257): em28xx: Fix for KWorld 330U Board 2009-01-29 08:39:18 -02:00
em28xx-core.c V4L/DVB (10325): em28xx: Fix for fail to submit URB with IRQs and Pre-emption Disabled 2009-01-29 09:01:06 -02:00
em28xx-dvb.c V4L/DVB (10257): em28xx: Fix for KWorld 330U Board 2009-01-29 08:39:18 -02:00
em28xx-i2c.c
em28xx-input.c V4L/DVB (10177): Fix sparse warnings on em28xx 2009-01-07 22:18:55 -02:00
em28xx-reg.h V4L/DVB (10160): em28xx: update chip id for em2710 2009-01-02 17:14:28 -02:00
em28xx-video.c V4L/DVB (10257): em28xx: Fix for KWorld 330U Board 2009-01-29 08:39:18 -02:00
em28xx.h V4L/DVB (10257): em28xx: Fix for KWorld 330U Board 2009-01-29 08:39:18 -02:00
Kconfig
Makefile