diff options
author | John Keeping <[email protected]> | 2017-02-24 12:54:50 +0000 |
---|---|---|
committer | Sean Paul <[email protected]> | 2017-03-01 14:48:51 -0500 |
commit | 028316fb6fe9c042fa2ab90e768d7733edfbaa89 (patch) | |
tree | 6f0d53f5ab449c9ee0191b2e400f08111ac18039 | |
parent | dad17ed01e81c1d697b98632ea126d95e2a1e8d4 (diff) |
drm/rockchip: dw-mipi-dsi: include bad value in error message
As an aid to debugging.
Signed-off-by: John Keeping <[email protected]>
Reviewed-by: Chris Zhong <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c index f55010312f25..374b18c550fd 100644 --- a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c +++ b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c @@ -646,7 +646,8 @@ static ssize_t dw_mipi_dsi_host_transfer(struct mipi_dsi_host *host, ret = dw_mipi_dsi_dcs_long_write(dsi, msg); break; default: - dev_err(dsi->dev, "unsupported message type\n"); + dev_err(dsi->dev, "unsupported message type 0x%02x\n", + msg->type); ret = -EINVAL; } |