[PATCH v2] i2c: busses: i2c-ocores: Fix PM-related warning

2013-03-04 Thread maxin.john
From: "Maxin B. John" The suspend/resume callbacks are unused w/o PM_SLEEP Fixes this warning: CC drivers/i2c/busses/i2c-ocores.o drivers/i2c/busses/i2c-ocores.c:460:12: warning: 'ocores_i2c_suspend' defined but not used [-Wunused-function] drivers/i2c/busses/i2c-ocores.c:471:12: warning

[PATCH] mmc: host: sdhci: Fix console flooding when there is no proper card detection

2013-04-25 Thread maxin.john
From: "Maxin B. John" With 3.9.0-rc8 kernel in p2020rdb powerpc target, the console gets flooded with this message without any SD-Cards present: "mmc0: Timeout waiting for hardware interrupt" Since the driver doesn't implement proper card detection, it assumes that card is always present. This q