Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75285
b: refs/heads/master
c: c4eee28
h: refs/heads/master
i:
  75283: ae475df
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jan 7, 2008
1 parent 45724cd commit a48f263
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 30 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 89a30a8388c9592579f237bc06988808f2c454d4
refs/heads/master: c4eee283e004751143fb81dbf4f8cfe7b8dcc970
9 changes: 0 additions & 9 deletions trunk/arch/arm/mach-at91/board-ek.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,6 @@ static struct spi_board_info ek_spi_devices[] = {
#endif
};

static struct i2c_board_info __initdata ek_i2c_devices[] = {
{
I2C_BOARD_INFO("ics1523", 0x26),
},
{
I2C_BOARD_INFO("dac3550", 0x4d),
}
};

#define EK_FLASH_BASE AT91_CHIPSELECT_0
#define EK_FLASH_SIZE 0x200000

Expand Down
13 changes: 1 addition & 12 deletions trunk/arch/arm/mach-pxa/pxa25x.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,19 +178,13 @@ static void pxa25x_cpu_pm_save(unsigned long *sleep_save)
SAVE(GAFR1_L); SAVE(GAFR1_U);
SAVE(GAFR2_L); SAVE(GAFR2_U);

SAVE(ICMR); ICMR = 0;
SAVE(ICMR);
SAVE(CKEN);
SAVE(PSTR);

/* Clear GPIO transition detect bits */
GEDR0 = GEDR0; GEDR1 = GEDR1; GEDR2 = GEDR2;
}

static void pxa25x_cpu_pm_restore(unsigned long *sleep_save)
{
/* ensure not to come back here if it wasn't intended */
PSPR = 0;

/* restore registers */
RESTORE_GPLEVEL(0); RESTORE_GPLEVEL(1); RESTORE_GPLEVEL(2);
RESTORE(GPDR0); RESTORE(GPDR1); RESTORE(GPDR2);
Expand All @@ -201,12 +195,7 @@ static void pxa25x_cpu_pm_restore(unsigned long *sleep_save)
RESTORE(GFER0); RESTORE(GFER1); RESTORE(GFER2);
RESTORE(PGSR0); RESTORE(PGSR1); RESTORE(PGSR2);

PSSR = PSSR_RDH | PSSR_PH;

RESTORE(CKEN);

ICLR = 0;
ICCR = 1;
RESTORE(ICMR);
RESTORE(PSTR);
}
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,6 @@ config BOOT_ELF64

menu "CPU selection"

source "kernel/time/Kconfig"

choice
prompt "CPU type"
default CPU_R4X00
Expand Down Expand Up @@ -1768,6 +1766,8 @@ config NR_CPUS
performance should round up your number of processors to the next
power of two.

source "kernel/time/Kconfig"

#
# Timer Interrupt Frequency Configuration
#
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/bt8xx/bttv-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -3063,17 +3063,19 @@ static int bttv_do_ioctl(struct inode *inode, struct file *file,
struct video_mbuf *mbuf = arg;
unsigned int i;

mutex_lock(&fh->cap.lock);
retval = videobuf_mmap_setup(&fh->cap,gbuffers,gbufsize,
V4L2_MEMORY_MMAP);
if (retval < 0)
return retval;
goto fh_unlock_and_return;

gbuffers = retval;
memset(mbuf,0,sizeof(*mbuf));
mbuf->frames = gbuffers;
mbuf->size = gbuffers * gbufsize;
for (i = 0; i < gbuffers; i++)
mbuf->offsets[i] = i * gbufsize;
mutex_unlock(&fh->cap.lock);
return 0;
}
case VIDIOCMCAPTURE:
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/media/video/ivtv/ivtv-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1076,10 +1076,6 @@ static int __devinit ivtv_probe(struct pci_dev *dev,
ivtv_process_eeprom(itv);
}

/* The mspx4xx chips need a longer delay for some reason */
if (!(itv->hw_flags & IVTV_HW_MSP34XX))
itv->i2c_algo.udelay = 5;

if (itv->std == 0) {
itv->std = V4L2_STD_NTSC_M;
}
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/media/video/ivtv/ivtv-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ static const struct i2c_algo_bit_data ivtv_i2c_algo_template = {
.setscl = ivtv_setscl_old,
.getsda = ivtv_getsda_old,
.getscl = ivtv_getscl_old,
.udelay = 10,
.udelay = 5,
.timeout = 200,
};

Expand Down Expand Up @@ -718,6 +718,9 @@ int init_ivtv_i2c(struct ivtv *itv)
sizeof(struct i2c_adapter));
memcpy(&itv->i2c_algo, &ivtv_i2c_algo_template,
sizeof(struct i2c_algo_bit_data));
/* The mspx4xx chips need a longer delay for some reason */
if (itv->hw_flags & IVTV_HW_MSP34XX)
itv->i2c_algo.udelay = 10;
itv->i2c_algo.data = itv;
itv->i2c_adap.algo_data = &itv->i2c_algo;
}
Expand Down

0 comments on commit a48f263

Please sign in to comment.