Permalink
Browse files

cleaning up and adding more printks

  • Loading branch information...
Josh S
Josh S committed Nov 2, 2012
1 parent 932954f commit 6c17603b0f6a5efaa37e596bc18ec77fe215ef3e
Showing with 3 additions and 3 deletions.
  1. +1 −1 arch/arm/mach-mmp/kovan.c
  2. +2 −2 drivers/spi/pxa2xx_spi.c
@@ -520,7 +520,6 @@ static void kovan_power_off(void)
}
-
static void __init kovan_init(void)
{
mfp_config(ARRAY_AND_SIZE(kovan_pin_config));
@@ -548,6 +547,7 @@ static void __init kovan_init(void)
if(pxa168_add_ssp(4))
printk("Unable to add SSP4\n");
+ printk("Registering SPI drivers for SSP3 and SSP4\n")
spi_register_board_info(kovan_spi_board_info,
ARRAY_SIZE(kovan_spi_board_info));
platform_device_register(&pxa_spi_ssp3);
View
@@ -950,7 +950,7 @@ static void pump_transfers(unsigned long data)
u32 dma_thresh = drv_data->cur_chip->dma_threshold;
u32 dma_burst = drv_data->cur_chip->dma_burst_size;
- if(SPI_DBG_PRINTKS) printk("***_SPI_*** pump_transfers start: SSCR0=%x SSCR1=%x\n (pxa2xx_spi.c:%d)",read_SSCR0(reg), read_SSCR1(reg), __LINE__);
+ if(SPI_DBG_PRINTKS) printk("***_SPI_*** pump_transfers start: SSCR0=%x SSCR1=%x (pxa2xx_spi.c:%d)\n",read_SSCR0(reg), read_SSCR1(reg), __LINE__);
/* Get current state information */
@@ -1189,7 +1189,7 @@ static void pump_transfers(unsigned long data)
* requests and interrupts, without changing any mode bits */
write_SSCR1(cr1, reg);
- if(SPI_DBG_PRINTKS) printk("***_SPI_*** pump_transfers end: SSCR0=%x SSCR1=%x\n (pxa2xx_spi.c:%d)",read_SSCR0(reg), read_SSCR1(reg), __LINE__);
+ if(SPI_DBG_PRINTKS) printk("***_SPI_*** pump_transfers end: SSCR0=%x SSCR1=%x (pxa2xx_spi.c:%d)\n",read_SSCR0(reg), read_SSCR1(reg), __LINE__);
}
static void pump_messages(struct work_struct *work)

0 comments on commit 6c17603

Please sign in to comment.