diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-08 04:35:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-08 04:35:30 -0400 |
commit | 5ea472a77f8e4811ceee3f44a9deda6ad6e8b789 (patch) | |
tree | a9ec5019e2b666a19874fc344ffb0dd5da6bce94 /drivers/media/video/ivtv/ivtv-ioctl.c | |
parent | 6c009ecef8cca28c7c09eb16d0802e37915a76e1 (diff) | |
parent | 577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff) |
Merge commit 'v2.6.30-rc1' into perfcounters/core
Conflicts:
arch/powerpc/include/asm/systbl.h
arch/powerpc/include/asm/unistd.h
include/linux/init_task.h
Merge reason: the conflicts are non-trivial: PowerPC placement
of sys_perf_counter_open has to be mixed with the
new preadv/pwrite syscalls.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-ioctl.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c index 9a0424298af..4a2d464f055 100644 --- a/drivers/media/video/ivtv/ivtv-ioctl.c +++ b/drivers/media/video/ivtv/ivtv-ioctl.c | |||
@@ -1033,7 +1033,6 @@ static int ivtv_g_output(struct file *file, void *fh, unsigned int *i) | |||
1033 | static int ivtv_s_output(struct file *file, void *fh, unsigned int outp) | 1033 | static int ivtv_s_output(struct file *file, void *fh, unsigned int outp) |
1034 | { | 1034 | { |
1035 | struct ivtv *itv = ((struct ivtv_open_id *)fh)->itv; | 1035 | struct ivtv *itv = ((struct ivtv_open_id *)fh)->itv; |
1036 | struct v4l2_routing route; | ||
1037 | 1036 | ||
1038 | if (outp >= itv->card->nof_outputs) | 1037 | if (outp >= itv->card->nof_outputs) |
1039 | return -EINVAL; | 1038 | return -EINVAL; |
@@ -1046,9 +1045,9 @@ static int ivtv_s_output(struct file *file, void *fh, unsigned int outp) | |||
1046 | itv->active_output, outp); | 1045 | itv->active_output, outp); |
1047 | 1046 | ||
1048 | itv->active_output = outp; | 1047 | itv->active_output = outp; |
1049 | route.input = SAA7127_INPUT_TYPE_NORMAL; | 1048 | ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_routing, |
1050 | route.output = itv->card->video_outputs[outp].video_output; | 1049 | SAA7127_INPUT_TYPE_NORMAL, |
1051 | ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_routing, &route); | 1050 | itv->card->video_outputs[outp].video_output, 0); |
1052 | 1051 | ||
1053 | return 0; | 1052 | return 0; |
1054 | } | 1053 | } |
@@ -1121,7 +1120,7 @@ int ivtv_s_std(struct file *file, void *fh, v4l2_std_id *std) | |||
1121 | IVTV_DEBUG_INFO("Switching standard to %llx.\n", (unsigned long long)itv->std); | 1120 | IVTV_DEBUG_INFO("Switching standard to %llx.\n", (unsigned long long)itv->std); |
1122 | 1121 | ||
1123 | /* Tuner */ | 1122 | /* Tuner */ |
1124 | ivtv_call_all(itv, tuner, s_std, itv->std); | 1123 | ivtv_call_all(itv, core, s_std, itv->std); |
1125 | 1124 | ||
1126 | if (itv->v4l2_cap & V4L2_CAP_VIDEO_OUTPUT) { | 1125 | if (itv->v4l2_cap & V4L2_CAP_VIDEO_OUTPUT) { |
1127 | /* set display standard */ | 1126 | /* set display standard */ |
@@ -1735,13 +1734,6 @@ static long ivtv_default(struct file *file, void *fh, int cmd, void *arg) | |||
1735 | struct ivtv *itv = ((struct ivtv_open_id *)fh)->itv; | 1734 | struct ivtv *itv = ((struct ivtv_open_id *)fh)->itv; |
1736 | 1735 | ||
1737 | switch (cmd) { | 1736 | switch (cmd) { |
1738 | case VIDIOC_INT_S_AUDIO_ROUTING: { | ||
1739 | struct v4l2_routing *route = arg; | ||
1740 | |||
1741 | ivtv_call_hw(itv, itv->card->hw_audio, audio, s_routing, route); | ||
1742 | break; | ||
1743 | } | ||
1744 | |||
1745 | case VIDIOC_INT_RESET: { | 1737 | case VIDIOC_INT_RESET: { |
1746 | u32 val = *(u32 *)arg; | 1738 | u32 val = *(u32 *)arg; |
1747 | 1739 | ||