Skip to content
Permalink
Browse files
ODROID-COMMON: Revert "drm/dbi: Print errors for mipi_dbi_command()"
This reverts commit 3f5aa5a.
  • Loading branch information
tobetter committed Jan 11, 2022
1 parent 0438e59 commit d5c3ea72c0e7fde4122fa642dc8c5169ac68fb01
Showing 1 changed file with 1 addition and 6 deletions.
@@ -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

0 comments on commit d5c3ea7

Please sign in to comment.