mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-24 19:40:21 +09:00
ODROID-COMMON: Revert "drm/dbi: Print errors for mipi_dbi_command()"
This reverts commit 3f5aa5ac0b.
This commit is contained in:
@@ -193,12 +193,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
|
||||
|
||||
Reference in New Issue
Block a user