ODROID-COMMON: Revert "drm/dbi: Print errors for mipi_dbi_command()"

This reverts commit 3f5aa5ac0b.
This commit is contained in:
Dongjin Kim
2021-11-03 18:57:00 +09:00
parent 702f178eba
commit 7cfd90e6b3

View File

@@ -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