summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/em28xx/em28xx-reg.h
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2013-06-03 14:12:04 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-19 11:42:27 -0300
commitbc677fff1cde38ce8e14d6a2cb703a9fb134ab98 (patch)
tree47ae592f743bddd0ba6834e92680a189451f6c61 /drivers/media/usb/em28xx/em28xx-reg.h
parentc074fc4c2990d48acab78d304054a6ff212f3d53 (diff)
downloadblackbird-op-linux-bc677fff1cde38ce8e14d6a2cb703a9fb134ab98.tar.gz
blackbird-op-linux-bc677fff1cde38ce8e14d6a2cb703a9fb134ab98.zip
[media] em28xx: move snapshot button bit definition for reg 0x0C from em28xx-input.c to em28xx.h
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-reg.h')
-rw-r--r--drivers/media/usb/em28xx/em28xx-reg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-reg.h b/drivers/media/usb/em28xx/em28xx-reg.h
index af39ddbe01e0..0e0477847965 100644
--- a/drivers/media/usb/em28xx/em28xx-reg.h
+++ b/drivers/media/usb/em28xx/em28xx-reg.h
@@ -68,7 +68,8 @@
#define EM28XX_R0A_CHIPID 0x0a
-#define EM28XX_R0C_USBSUSP 0x0c /* */
+#define EM28XX_R0C_USBSUSP 0x0c
+#define EM28XX_R0C_USBSUSP_SNAPSHOT 0x20 /* 1=button pressed, needs reset */
#define EM28XX_R0E_AUDIOSRC 0x0e
#define EM28XX_R0F_XCLK 0x0f
OpenPOWER on IntegriCloud