Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-dm646x

2009-07-05 Thread Mauro Carvalho Chehab
Em Fri, 26 Jun 2009 21:01:50 +0200
Hans Verkuil hverk...@xs4all.nl escreveu:

 Hi Mauro,
 
 Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-dm646x for the 
 following:
 
 - ARM: DaVinci: DM646x Video: VPIF driver
 - ARM: DaVinci: DM646x Video: Add VPIF display driver
 - ARM: DaVinci: DM646x Video: Makefile and config files modifications for 
 Display
 - ARM: DaVinci: DM646x Video: Fix compile time warnings for mutex locking
 
 Note that these four patches depend on the attached platform patch that
 should be applied to the git tree first.
 
 If possible, it would be great if this (like the vpfe capture driver) can be
 merged for 2.6.31.

One note about your changesets: Please, don't use both Reviewed-by and
Signed-off-by. The first tag is meant for patches that you reviewed, but
you are not part of the submission chain, while the second one means that you
reviewed and you're submitting to a maintainer.

I'm fixing this at the -git patches.



Cheers,
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-dm646x

2009-07-05 Thread Russell King - ARM Linux
On Sun, Jul 05, 2009 at 09:51:55AM -0300, Mauro Carvalho Chehab wrote:
 Hmm... I'm not seeing Russel ack on the arch/arm patch. Russel, could you
 please review the enclosed patch? Would this be ok for 2.6.31?

I'm not sure who this Russel is!

 @@ -207,6 +220,40 @@ static struct at24_platform_data eeprom_info = {
   .context= (void *)0x7f00,
  };
  
 +static struct i2c_client *cpld_client;
 +
 +static int cpld_video_probe(struct i2c_client *client,
 + const struct i2c_device_id *id)
 +{
 + cpld_client = client;
 + return 0;
 +}
 +
 +static int __devexit cpld_video_remove(struct i2c_client *client)
 +{
 + cpld_client = NULL;
 + return 0;
 +}
...
 +static int set_vpif_clock(int mux_mode, int hd)
 +{
 + int val = 0;
 + int err = 0;
 + unsigned int value;
 + void __iomem *base = IO_ADDRESS(DAVINCI_SYSTEM_MODULE_BASE);
 +
 + /* disable the clock */
 + value = __raw_readl(base + VSCLKDIS_OFFSET);
 + value |= (VIDCH3CLK | VIDCH2CLK);
 + __raw_writel(value, base + VSCLKDIS_OFFSET);
 +
 + val = i2c_smbus_read_byte(cpld_client);
 + if (val  0)
 + return val;
 +
 + if (mux_mode == 1)
 + val = ~0x40;
 + else
 + val |= 0x40;
 +
 + err = i2c_smbus_write_byte(cpld_client, val);
 + if (err)
 + return err;

So what prevents this 'cpld_client' being removed mid-operation?  What if
'cpld_client' isn't found for whatever reason?

 +static struct platform_device vpif_display_dev = {
 + .name   = vpif_display,
 + .id = -1,
 + .dev= {
 + .dma_mask   = vpif_dma_mask,
 + .coherent_dma_mask  = DMA_32BIT_MASK,

Shouldn't this be DMA_BIT_MASK(32) ?
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-dm646x

2009-07-05 Thread Mauro Carvalho Chehab
Em Sun, 5 Jul 2009 15:46:32 +0100
Russell King - ARM Linux li...@arm.linux.org.uk escreveu:

 On Sun, Jul 05, 2009 at 09:51:55AM -0300, Mauro Carvalho Chehab wrote:
  Hmm... I'm not seeing Russel ack on the arch/arm patch. Russel, could you
  please review the enclosed patch? Would this be ok for 2.6.31?  
 
 I'm not sure who this Russel is!

Sorry for the typo, Russell. As double consonants are forbidden on
my mother tong (except for ss), sometimes my fingers refuse to type a 
double consonant :)



Cheers,
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PULL] http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-dm646x

2009-06-26 Thread Hans Verkuil
On Friday 26 June 2009 21:01:50 Hans Verkuil wrote:
 Hi Mauro,
 
 Please pull from http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-dm646x for the 
 following:
 
 - ARM: DaVinci: DM646x Video: VPIF driver
 - ARM: DaVinci: DM646x Video: Add VPIF display driver
 - ARM: DaVinci: DM646x Video: Makefile and config files modifications for 
 Display
 - ARM: DaVinci: DM646x Video: Fix compile time warnings for mutex locking

Minor update: by request from Kevin I've removed the 'ARM: ' prefix in the
patch subject lines.

Regards,

Hans

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html