Skip to contentSkip to conversation

tm6000 bad marge staging/tm6000 into staging/all

PATCH Stefan Ringel 2 participants 4 messages Jul 25, 2010 – Jul 26, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mauro,

This marge are wrong! It's added double dvb led off, but my patch has only ones.

raw | combined (merge: 011906d 6e5e76f)

Merge branch 'staging/tm6000' into staging/all
Mauro Carvalho Chehab [Sun, 4 Jul 2010 19:33:26 +0000 (16:33 -0300)]

* staging/tm6000: (29 commits)
tm6000: Partially revert some copybuf logic
tm6000: Be sure that the new buffer is empty
tm6000: Fix copybuf continue logic Signed-off-by: Mauro Carvalho
Chehab <[email protected]>
tm6000: audio packet has always 180 bytes
tm6000: Improve set bitrate routines used by alsa
tm6000-alsa: Implement a routine to store data received from URB
tm6000-alsa: Fix several bugs at the driver initialization code
tm6000: avoid unknown symbol tm6000_debug
tm6000: Add a callback code for buffer fill
tm6000: Use an emum for extension type
tm6000-alsa: rework audio buffer allocation/deallocation
tm6000: Avoid OOPS when loading tm6000-alsa module
tm6000: Fix compilation breakages
V4L/DVB: Staging: tm6000: Fix coding style issues
V4L/DVB: tm6000: move dvb into a separate kern module V4L/DVB: tm6000: rewrite init and fini
V4L/DVB: tm6000: Fix Video decoder initialization
V4L/DVB: tm6000: rewrite copy_streams
V4L/DVB: tm6000: add DVB support for tuner xc5000
V4L/DVB: tm6000: set variable dev_mode in function tm6000_start_stream
...

drivers/staging/tm6000/tm6000-core.c +0 -0
diff --cc drivers/staging/tm6000/tm6000-core.c

index 27f3f55,1fea5a0..9f60ad5
- --- 1/drivers/staging/tm6000/tm6000-core.c
- --- 2/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c
@@@ -336,11 -332,11 +332,17 @@@ int tm6000_init_analog_mode(struct tm60

        mutex_unlock(&dev->lock);
 
        msleep(100);

- - tm6000_set_standard (dev, &dev->norm);
- - tm6000_set_audio_bitrate (dev,48000);
+ tm6000_set_standard(dev, &dev->norm);
+ tm6000_set_audio_bitrate(dev, 48000);
+
+ /* switch dvb led off */
+ if (dev->gpio.dvb_led) {
++ tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
++ dev->gpio.dvb_led, 0x01);
++ }
+
+ /* switch dvb led off */

 +      if (dev->gpio.dvb_led) {
                tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
                        dev->gpio.dvb_led, 0x01);
        }

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMS+eJAAoJEAWtPFjxMvFGDw8IAJnmTxTehH4TeqwI3Gn+8gcn Xp8VPH/F67npT3zHQMq4luBEWdnMKkI/y54en8czoqG+EHEnxZjFZUxJUkAKPbpd pU9vVUrQGtUQOf7zY6qYSqaSPIJr+abTmE1k2Wnd47Zwlu35tfRhuVXqfrTu7JkT /Jy4Xf/IOtJvCa62eDCnhB6+gAq+hj5peHiZb7KBxOQO1NH8DQ8DYQPT9xNn5SFs mCmQv9BdNrLdXS4mCkufBWEinennolOIoaSIyj2GkvJm8aSvzIWGvm28zxjPLKPL PLH7A+WPMHCdor7Psn7QJKCm3DPEKu3vcOTOmFYsBJfV/pUNMK+5y3qV1WP9Ayg= =HCq5
-----END PGP SIGNATURE-----

#1 lore raw

Em 25-07-2010 04:28, Stefan Ringel escreveu:

Quoted 53 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mauro,

This marge are wrong! It's added double dvb led off, but my patch has only ones.

raw | combined (merge: 011906d 6e5e76f)

Merge branch 'staging/tm6000' into staging/all
Mauro Carvalho Chehab [Sun, 4 Jul 2010 19:33:26 +0000 (16:33 -0300)]

* staging/tm6000: (29 commits)
tm6000: Partially revert some copybuf logic
tm6000: Be sure that the new buffer is empty
tm6000: Fix copybuf continue logic Signed-off-by: Mauro Carvalho
Chehab <[email protected]>
tm6000: audio packet has always 180 bytes
tm6000: Improve set bitrate routines used by alsa
tm6000-alsa: Implement a routine to store data received from URB
tm6000-alsa: Fix several bugs at the driver initialization code
tm6000: avoid unknown symbol tm6000_debug
tm6000: Add a callback code for buffer fill
tm6000: Use an emum for extension type
tm6000-alsa: rework audio buffer allocation/deallocation
tm6000: Avoid OOPS when loading tm6000-alsa module
tm6000: Fix compilation breakages
V4L/DVB: Staging: tm6000: Fix coding style issues
V4L/DVB: tm6000: move dvb into a separate kern module V4L/DVB: tm6000: rewrite init and fini
V4L/DVB: tm6000: Fix Video decoder initialization
V4L/DVB: tm6000: rewrite copy_streams
V4L/DVB: tm6000: add DVB support for tuner xc5000
V4L/DVB: tm6000: set variable dev_mode in function tm6000_start_stream
...

drivers/staging/tm6000/tm6000-core.c +0 -0
diff --cc drivers/staging/tm6000/tm6000-core.c

index 27f3f55,1fea5a0..9f60ad5
- --- 1/drivers/staging/tm6000/tm6000-core.c
- --- 2/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c

drivers/staging/tm6000/tm6000-core.c +4 -2
@@@ -336,11 -332,11 +332,17 @@@ int tm6000_init_analog_mode(struct tm60
        mutex_unlock(&dev->lock);
 
        msleep(100);
- -       tm6000_set_standard (dev, &dev->norm);
- -       tm6000_set_audio_bitrate (dev,48000);
+       tm6000_set_standard(dev, &dev->norm);
+       tm6000_set_audio_bitrate(dev, 48000);
+
+       /* switch dvb led off */

drivers/staging/tm6000/tm6000-core.c

Quoted 10 lines
drivers/staging/tm6000/tm6000-core.c +4 -0
+       if (dev->gpio.dvb_led) {
++              tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
++                      dev->gpio.dvb_led, 0x01);
++      }
 +
 +      /* switch dvb led off */
 +      if (dev->gpio.dvb_led) {
                tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
                        dev->gpio.dvb_led, 0x01);
        }

I hate those merge conflicts ;)

could you please send me a patch fixing it at staging/all? I won't apply it upstream, but we shouldn't simply revert a patch at staging, otherwise, we'll break every clone of my tree.

Quoted 16 lines

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMS+eJAAoJEAWtPFjxMvFGDw8IAJnmTxTehH4TeqwI3Gn+8gcn Xp8VPH/F67npT3zHQMq4luBEWdnMKkI/y54en8czoqG+EHEnxZjFZUxJUkAKPbpd pU9vVUrQGtUQOf7zY6qYSqaSPIJr+abTmE1k2Wnd47Zwlu35tfRhuVXqfrTu7JkT /Jy4Xf/IOtJvCa62eDCnhB6+gAq+hj5peHiZb7KBxOQO1NH8DQ8DYQPT9xNn5SFs mCmQv9BdNrLdXS4mCkufBWEinennolOIoaSIyj2GkvJm8aSvzIWGvm28zxjPLKPL PLH7A+WPMHCdor7Psn7QJKCm3DPEKu3vcOTOmFYsBJfV/pUNMK+5y3qV1WP9Ayg= =HCq5
-----END PGP SIGNATURE-----

#2 lore raw

Am 25.07.2010 19:58, schrieb Mauro Carvalho Chehab:

Quoted 66 lines

Em 25-07-2010 04:28, Stefan Ringel escreveu:

Quoted 53 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mauro,

This marge are wrong! It's added double dvb led off, but my patch has only ones.

raw | combined (merge: 011906d 6e5e76f)

Merge branch 'staging/tm6000' into staging/all
Mauro Carvalho Chehab [Sun, 4 Jul 2010 19:33:26 +0000 (16:33 -0300)]

* staging/tm6000: (29 commits)
tm6000: Partially revert some copybuf logic
tm6000: Be sure that the new buffer is empty
tm6000: Fix copybuf continue logic Signed-off-by: Mauro Carvalho
Chehab<[email protected]>
tm6000: audio packet has always 180 bytes
tm6000: Improve set bitrate routines used by alsa
tm6000-alsa: Implement a routine to store data received from URB
tm6000-alsa: Fix several bugs at the driver initialization code
tm6000: avoid unknown symbol tm6000_debug
tm6000: Add a callback code for buffer fill
tm6000: Use an emum for extension type
tm6000-alsa: rework audio buffer allocation/deallocation
tm6000: Avoid OOPS when loading tm6000-alsa module
tm6000: Fix compilation breakages
V4L/DVB: Staging: tm6000: Fix coding style issues
V4L/DVB: tm6000: move dvb into a separate kern module V4L/DVB: tm6000: rewrite init and fini
V4L/DVB: tm6000: Fix Video decoder initialization
V4L/DVB: tm6000: rewrite copy_streams
V4L/DVB: tm6000: add DVB support for tuner xc5000
V4L/DVB: tm6000: set variable dev_mode in function tm6000_start_stream
...

drivers/staging/tm6000/tm6000-core.c +0 -0
diff --cc drivers/staging/tm6000/tm6000-core.c

index 27f3f55,1fea5a0..9f60ad5
- --- 1/drivers/staging/tm6000/tm6000-core.c
- --- 2/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c

drivers/staging/tm6000/tm6000-core.c +4 -2
@@@ -336,11 -332,11 +332,17 @@@ int tm6000_init_analog_mode(struct tm60
         mutex_unlock(&dev->lock);
 
         msleep(100);
- -       tm6000_set_standard (dev,&dev->norm);
- -       tm6000_set_audio_bitrate (dev,48000);
+       tm6000_set_standard(dev,&dev->norm);
+       tm6000_set_audio_bitrate(dev, 48000);
+
+       /* switch dvb led off */

drivers/staging/tm6000/tm6000-core.c

Quoted 10 lines
drivers/staging/tm6000/tm6000-core.c +4 -0
+       if (dev->gpio.dvb_led) {
++              tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
++                      dev->gpio.dvb_led, 0x01);
++      }
  +
  +      /* switch dvb led off */
  +      if (dev->gpio.dvb_led) {
                 tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
                         dev->gpio.dvb_led, 0x01);
         }

I hate those merge conflicts ;)

Quoted 3 lines

could you please send me a patch fixing it at staging/all? I won't apply it upstream, but we shouldn't simply revert a patch at staging, otherwise, we'll break every clone of my tree.

cannot found staging/all.

Quoted 15 lines
Quoted 15 lines

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMS+eJAAoJEAWtPFjxMvFGDw8IAJnmTxTehH4TeqwI3Gn+8gcn Xp8VPH/F67npT3zHQMq4luBEWdnMKkI/y54en8czoqG+EHEnxZjFZUxJUkAKPbpd pU9vVUrQGtUQOf7zY6qYSqaSPIJr+abTmE1k2Wnd47Zwlu35tfRhuVXqfrTu7JkT /Jy4Xf/IOtJvCa62eDCnhB6+gAq+hj5peHiZb7KBxOQO1NH8DQ8DYQPT9xNn5SFs mCmQv9BdNrLdXS4mCkufBWEinennolOIoaSIyj2GkvJm8aSvzIWGvm28zxjPLKPL PLH7A+WPMHCdor7Psn7QJKCm3DPEKu3vcOTOmFYsBJfV/pUNMK+5y3qV1WP9Ayg= =HCq5
-----END PGP SIGNATURE-----

#3 lore raw

Em 26-07-2010 12:17, Stefan Ringel escreveu:

Quoted 10 lines

Am 25.07.2010 19:58, schrieb Mauro Carvalho Chehab:

Quoted 9 lines

Em 25-07-2010 04:28, Stefan Ringel escreveu:

Quoted 8 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mauro,

This marge are wrong! It's added double dvb led off, but my patch has only ones.

Quoted 7 lines
Quoted 6 lines
Quoted 5 lines

raw | combined (merge: 011906d 6e5e76f)

Merge branch 'staging/tm6000' into staging/all
Mauro Carvalho Chehab [Sun, 4 Jul 2010 19:33:26 +0000 (16:33 -0300)]

break every clone of my tree.

cannot found staging/all.

Sorry, I meant staging/other. staging/all is an internal temporary branch I used locally.

Cheers,
Mauro