Improve Terratec Grabby (hw rev 2) support

From: Matthieu Rogez
Date: Sun Feb 28 2016 - 06:26:50 EST


These patches improve support for the Terratec Grabby A/V capture device.
The first two patches add support for the REC button and led.
The third patch fixes AC97 codec detection by delaying card setup until
i2c communication to EMP202 device is reliable.

To test this:
* modprobe em28xx-alsa
* connect Grabby
* mplayer tv:// -tv driver=v4l2:width=720:height=576:device=/dev/video1:input=0:fps=25:norm=SECAM-L:alsa:adevice=plughw.2:audiorate=48000:forceaudio:amode=1:immediatemode=0 -nocache -fps 60

NOTE: for some unknown reason, if em28xx-alsa is not loaded when Grabby is
connected, there will be no sound.
NOTE2: if Grabby is connected without loading em28xx-alsa first, just deconnect
the Grabby and reconnect it.