mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 00:42:16 +00:00
[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>
This commit is contained in:
parent
c074fc4c29
commit
bc677fff1c
@ -32,7 +32,6 @@
|
|||||||
|
|
||||||
#define EM28XX_SNAPSHOT_KEY KEY_CAMERA
|
#define EM28XX_SNAPSHOT_KEY KEY_CAMERA
|
||||||
#define EM28XX_SBUTTON_QUERY_INTERVAL 500
|
#define EM28XX_SBUTTON_QUERY_INTERVAL 500
|
||||||
#define EM28XX_R0C_USBSUSP_SNAPSHOT 0x20
|
|
||||||
|
|
||||||
static unsigned int ir_debug;
|
static unsigned int ir_debug;
|
||||||
module_param(ir_debug, int, 0644);
|
module_param(ir_debug, int, 0644);
|
||||||
|
@ -68,7 +68,8 @@
|
|||||||
|
|
||||||
|
|
||||||
#define EM28XX_R0A_CHIPID 0x0a
|
#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_R0E_AUDIOSRC 0x0e
|
||||||
#define EM28XX_R0F_XCLK 0x0f
|
#define EM28XX_R0F_XCLK 0x0f
|
||||||
|
Loading…
Reference in New Issue
Block a user