projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67bf9cd
)
spi: dw: amend warning message
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Wed, 7 Jan 2015 14:56:54 +0000
(16:56 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 7 Jan 2015 17:58:54 +0000
(17:58 +0000)
In case of warning message in ->probe() we have to use HW device name instead
of master because last is not defined yet.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-dw.c
b/drivers/spi/spi-dw.c
index 1a0f266c42685b7a6e7bfd440483143133374ce0..8edcd1b84562109799281fb48867df8ce73ac7b2 100644
(file)
--- a/
drivers/spi/spi-dw.c
+++ b/
drivers/spi/spi-dw.c
@@
-673,7
+673,7
@@
int dw_spi_add_host(struct device *dev, struct dw_spi *dws)
if (dws->dma_ops && dws->dma_ops->dma_init) {
ret = dws->dma_ops->dma_init(dws);
if (ret) {
- dev_warn(
&master->
dev, "DMA init failed\n");
+ dev_warn(dev, "DMA init failed\n");
dws->dma_inited = 0;
}
}