Skip to content

Commit 6800e4c

Browse files
committed
Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
* 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: arm: omap1: devices: need to return with a value OMAP1: camera.h: add missing include omap: dma: Add read-back to DMA interrupt handler to avoid spuriousinterrupts OMAP2: Devkit8000: Fix mmc regulator failure
2 parents 477d4e4 + dfcccd3 commit 6800e4c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

arch/arm/mach-omap1/devices.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,9 @@ static struct platform_device omap_wdt_device = {
321321
static int __init omap_init_wdt(void)
322322
{
323323
if (!cpu_is_omap16xx())
324-
return;
324+
return -ENODEV;
325325

326-
platform_device_register(&omap_wdt_device);
327-
return 0;
326+
return platform_device_register(&omap_wdt_device);
328327
}
329328
subsys_initcall(omap_init_wdt);
330329
#endif

arch/arm/mach-omap1/include/mach/camera.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef __ASM_ARCH_CAMERA_H_
22
#define __ASM_ARCH_CAMERA_H_
33

4+
#include <media/omap1_camera.h>
5+
46
void omap1_camera_init(void *);
57

68
static inline void omap1_set_camera_info(struct omap1_cam_platform_data *info)

arch/arm/mach-omap2/board-devkit8000.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev,
242242
mmc[0].gpio_cd = gpio + 0;
243243
omap2_hsmmc_init(mmc);
244244

245-
/* link regulators to MMC adapters */
246-
devkit8000_vmmc1_supply.dev = mmc[0].dev;
247-
248245
/* TWL4030_GPIO_MAX + 1 == ledB, PMU_STAT (out, active low LED) */
249246
gpio_leds[2].gpio = gpio + TWL4030_GPIO_MAX + 1;
250247

arch/arm/plat-omap/dma.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1983,6 +1983,8 @@ static int omap2_dma_handle_ch(int ch)
19831983

19841984
dma_write(OMAP2_DMA_CSR_CLEAR_MASK, CSR(ch));
19851985
dma_write(1 << ch, IRQSTATUS_L0);
1986+
/* read back the register to flush the write */
1987+
dma_read(IRQSTATUS_L0);
19861988

19871989
/* If the ch is not chained then chain_id will be -1 */
19881990
if (dma_chan[ch].chain_id != -1) {

0 commit comments

Comments
 (0)