projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8c751f
)
[COMMON] spi: core: Add snapshot function to SPI
author
Kyungwoo Kang
<kwoo.kang@samsung.com>
Tue, 27 Mar 2018 05:51:53 +0000
(14:51 +0900)
committer
Sunyoung Kang
<sy0816.kang@samsung.com>
Wed, 30 May 2018 04:44:55 +0000
(13:44 +0900)
This patch adds exynos_ss_spi to get debugging information of SPI
through exynos snapshot
Change-Id: I8938b508a51ff9a4a3523a9a9d602cf243f044f9
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
drivers/spi/spi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi.c
b/drivers/spi/spi.c
index b8623db3a7ba719d5eadd0ffedf294865c87d737..fec1419144d1c345c65d3ef13d22c782e5da0555 100644
(file)
--- a/
drivers/spi/spi.c
+++ b/
drivers/spi/spi.c
@@
-1265,7
+1265,10
@@
static void __spi_pump_messages(struct spi_controller *ctlr, bool in_kthread)
goto out;
}
+ dbg_snapshot_spi(ctlr, ctlr->cur_msg, DSS_FLAG_IN);
ret = ctlr->transfer_one_message(ctlr, ctlr->cur_msg);
+ dbg_snapshot_spi(ctlr, ctlr->cur_msg, DSS_FLAG_OUT);
+
if (ret) {
dev_err(&ctlr->dev,
"failed to transfer one message from queue\n");