diff options
author | John Keeping <john@metanate.com> | 2017-02-24 15:54:50 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-03-01 22:48:51 +0300 |
commit | 028316fb6fe9c042fa2ab90e768d7733edfbaa89 (patch) | |
tree | 6f0d53f5ab449c9ee0191b2e400f08111ac18039 /drivers | |
parent | dad17ed01e81c1d697b98632ea126d95e2a1e8d4 (diff) | |
download | linux-028316fb6fe9c042fa2ab90e768d7733edfbaa89.tar.xz |
drm/rockchip: dw-mipi-dsi: include bad value in error message
As an aid to debugging.
Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Chris Zhong <zyw@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20170224125506.21533-8-john@metanate.com
Diffstat (limited to 'drivers')
-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; } |