Message ID | 2001833.m4ljKS3hpv@diego (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/mfd/cros_ec_spi.c b/drivers/mfd/cros_ec_spi.c index ebe9b94..24da42a 100644 --- a/drivers/mfd/cros_ec_spi.c +++ b/drivers/mfd/cros_ec_spi.c @@ -584,6 +589,10 @@ static int cros_ec_cmd_xfer_spi(struct cros_ec_device *ec_dev, if (len > ec_msg->insize) { dev_err(ec_dev->dev, "packet too long (%d bytes, expected %d)", len, ec_msg->insize); +dev_err(ec_dev->dev, "bytes: "); +for (i = 0; i < len; i++) + printk("%x ", ptr[i]); +printk("\n"); ret = -ENOSPC; goto exit; }