Skip to contentSkip to conversation

bttv-cards.c AUDC_CONFIG_PINNACLE fix

PATCH In review Steven Barnhart 1 participant 4 messages Dec 29, 2002 – Jan 3, 2003 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bttv-cards.c AUDC_CONFIG_PINNACLE fix

This fixes bug #162 on http://bugme.osdl.org that has still not been merged with mainline since it appeared in 2.5.51. This patch gets rid of the undeclared AUDC_CONFIG_PINNACLE problem. Please merge.

Steven Barnhart
[email protected]

#1 lore raw
Quoted 6 lines · Steven Barnhart

This fixes bug #162 on http://bugme.osdl.org that has still not been merged with mainline since it appeared in 2.5.51. This patch gets rid of the undeclared AUDC_CONFIG_PINNACLE problem. Please merge.

Steven Barnhart
[email protected]

It seems I totally forgot to attach the patch (sorry!). Its attached now.

Steven

--------
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:
# ChangeSet 1.956 -> 1.957
# drivers/media/video/audiochip.h 1.1 -> 1.2
# drivers/media/video/Makefile 1.13 -> 1.14
# drivers/media/video/bttv-cards.c 1.12 -> 1.13
# (new) -> 1.1 drivers/media/video/tda9887.c
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/12/29 [email protected] 1.957
# Fix AUDC_CONFIG_PINNACLE undeclared error in drivers/media/video/bttv-cards.c. # --------------------------------------------
#

drivers/media/video/Makefile +1 -1
diff -Nru a/drivers/media/video/Makefile b/drivers/media/video/Makefile
@@ -15,7 +15,7 @@
 obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-common.o
 
 obj-$(CONFIG_VIDEO_BT848) += bttv.o msp3400.o tvaudio.o \
-	tda7432.o tda9875.o tuner.o video-buf.o
+	tda7432.o tda9875.o tuner.o video-buf.o tda9887.o
 obj-$(CONFIG_SOUND_TVMIXER) += tvmixer.o
 
 obj-$(CONFIG_VIDEO_ZR36120) += zoran.o
drivers/media/video/audiochip.h +4 -0
diff -Nru a/drivers/media/video/audiochip.h b/drivers/media/video/audiochip.h
@@ -67,4 +67,8 @@
 #define AUDC_SWITCH_MUTE      _IO('m',16)      /* turn on mute */
 #endif
 
+
+/* misc stuff to pass around config info to i2c chips */
+#define AUDC_CONFIG_PINNACLE  _IOW('m',32,int)
+
 #endif /* AUDIOCHIP_H */
drivers/media/video/bttv-cards.c +1 -0
diff -Nru a/drivers/media/video/bttv-cards.c b/drivers/media/video/bttv-cards.c
@@ -40,6 +40,7 @@
 #if 0
 # include "bt832.h"
 #endif
+#include "audiochip.h"
 
 /* fwd decl */
 static void boot_msp34xx(struct bttv *btv, int pin);
drivers/media/video/tda9887.c new file +493 -0

493 lines not on this page · raw message

#2 lore raw
In reply to Steven Barnhart
Quoted 6 lines · Steven Barnhart

This fixes bug #162 on http://bugme.osdl.org that has still not been merged with mainline since it appeared in 2.5.51. This patch gets rid of the undeclared AUDC_CONFIG_PINNACLE problem. Please merge.

Steven Barnhart
[email protected]

It seems I totally forgot to attach the patch (sorry!). Its attached now.

Steven

--------
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:
# ChangeSet 1.956 -> 1.957
# drivers/media/video/audiochip.h 1.1 -> 1.2
# drivers/media/video/Makefile 1.13 -> 1.14
# drivers/media/video/bttv-cards.c 1.12 -> 1.13
# (new) -> 1.1 drivers/media/video/tda9887.c
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/12/29 [email protected] 1.957
# Fix AUDC_CONFIG_PINNACLE undeclared error in drivers/media/video/bttv-cards.c. # --------------------------------------------
#

drivers/media/video/Makefile +1 -1
diff -Nru a/drivers/media/video/Makefile b/drivers/media/video/Makefile
@@ -15,7 +15,7 @@
 obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-common.o
 
 obj-$(CONFIG_VIDEO_BT848) += bttv.o msp3400.o tvaudio.o \
-	tda7432.o tda9875.o tuner.o video-buf.o
+	tda7432.o tda9875.o tuner.o video-buf.o tda9887.o
 obj-$(CONFIG_SOUND_TVMIXER) += tvmixer.o
 
 obj-$(CONFIG_VIDEO_ZR36120) += zoran.o
drivers/media/video/audiochip.h +4 -0
diff -Nru a/drivers/media/video/audiochip.h b/drivers/media/video/audiochip.h
@@ -67,4 +67,8 @@
 #define AUDC_SWITCH_MUTE      _IO('m',16)      /* turn on mute */
 #endif
 
+
+/* misc stuff to pass around config info to i2c chips */
+#define AUDC_CONFIG_PINNACLE  _IOW('m',32,int)
+
 #endif /* AUDIOCHIP_H */
drivers/media/video/bttv-cards.c +1 -0
diff -Nru a/drivers/media/video/bttv-cards.c b/drivers/media/video/bttv-cards.c
@@ -40,6 +40,7 @@
 #if 0
 # include "bt832.h"
 #endif
+#include "audiochip.h"
 
 /* fwd decl */
 static void boot_msp34xx(struct bttv *btv, int pin);
drivers/media/video/tda9887.c new file +493 -0

493 lines not on this page · raw message

#3 lore raw
Quoted 6 lines · Steven Barnhart
Quoted 4 lines · Steven Barnhart

This fixes bug #162 on http://bugme.osdl.org that has still not been merged with mainline since it appeared in 2.5.51. This patch gets rid of the undeclared AUDC_CONFIG_PINNACLE problem. Please merge.

Quoted 7 lines
Quoted 2 lines

Steven Barnhart
[email protected]

It seems I totally forgot to attach the patch (sorry!). Its attached now.

Steven

omfg guys I am extremely sorry I am so not using Pan anymore!

Steven