diff options
| author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-08 16:04:38 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:21 -0400 |
| commit | 1cd3c0fa927084549005fc22e54d99684b314f14 (patch) | |
| tree | ffec4f2829239216640983e0102f4638493a1140 /include | |
| parent | 98ec633972a70cf71d71bc8762804f0af4792d08 (diff) | |
V4L/DVB (11022): zoran/bt819: use new notify functionality.
Bt819 needs the parent driver to drive a GPIO pin low and high in order to
reset its fifo. Use the new notify callback for this.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/media/bt819.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/media/bt819.h b/include/media/bt819.h new file mode 100644 index 000000000000..38f666bde77a --- /dev/null +++ b/include/media/bt819.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | /* | ||
| 2 | bt819.h - bt819 notifications | ||
| 3 | |||
| 4 | Copyright (C) 2009 Hans Verkuil (hverkuil@xs4all.nl) | ||
| 5 | |||
| 6 | This program is free software; you can redistribute it and/or modify | ||
| 7 | it under the terms of the GNU General Public License as published by | ||
| 8 | the Free Software Foundation; either version 2 of the License, or | ||
| 9 | (at your option) any later version. | ||
| 10 | |||
| 11 | This program is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | GNU General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU General Public License | ||
| 17 | along with this program; if not, write to the Free Software | ||
| 18 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #ifndef _BT819_H_ | ||
| 22 | #define _BT819_H_ | ||
| 23 | |||
| 24 | #include <linux/ioctl.h> | ||
| 25 | |||
| 26 | /* v4l2_device notifications. */ | ||
| 27 | |||
| 28 | /* Needed to reset the FIFO buffer when changing the input | ||
| 29 | or the video standard. */ | ||
| 30 | #define BT819_FIFO_RESET_LOW _IO('b', 0) | ||
| 31 | #define BT819_FIFO_RESET_HIGH _IO('b', 1) | ||
| 32 | |||
| 33 | #endif | ||
