33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
|
From 49f1393b8740941fa5176620b302f25ab5f786dc Mon Sep 17 00:00:00 2001
|
||
|
From: Dongjin Kim <tobetter@gmail.com>
|
||
|
Date: Wed, 3 Nov 2021 18:57:00 +0900
|
||
|
Subject: [PATCH 75/75] ODROID-COMMON: Revert "drm/dbi: Print errors for
|
||
|
mipi_dbi_command()"
|
||
|
|
||
|
This reverts commit 3f5aa5ac0b0f9704f0c60f5fbbbcdc8c043d6eb6.
|
||
|
---
|
||
|
include/drm/drm_mipi_dbi.h | 7 +------
|
||
|
1 file changed, 1 insertion(+), 6 deletions(-)
|
||
|
|
||
|
diff --git a/include/drm/drm_mipi_dbi.h b/include/drm/drm_mipi_dbi.h
|
||
|
index 05e194958265..f543d6e3e822 100644
|
||
|
--- a/include/drm/drm_mipi_dbi.h
|
||
|
+++ b/include/drm/drm_mipi_dbi.h
|
||
|
@@ -183,12 +183,7 @@ int mipi_dbi_buf_copy(void *dst, struct drm_framebuffer *fb,
|
||
|
#define mipi_dbi_command(dbi, cmd, seq...) \
|
||
|
({ \
|
||
|
const u8 d[] = { seq }; \
|
||
|
- struct device *dev = &(dbi)->spi->dev; \
|
||
|
- int ret; \
|
||
|
- ret = mipi_dbi_command_stackbuf(dbi, cmd, d, ARRAY_SIZE(d)); \
|
||
|
- if (ret) \
|
||
|
- dev_err_ratelimited(dev, "error %d when sending command %#02x\n", ret, cmd); \
|
||
|
- ret; \
|
||
|
+ mipi_dbi_command_stackbuf(dbi, cmd, d, ARRAY_SIZE(d)); \
|
||
|
})
|
||
|
|
||
|
#ifdef CONFIG_DEBUG_FS
|
||
|
--
|
||
|
2.25.1
|
||
|
|