.. | .. |
---|
172 | 172 | ret = __mei_cl_send(cldev->cl, (u8 *)&req, sizeof(req), |
---|
173 | 173 | MEI_CL_IO_TX_BLOCKING); |
---|
174 | 174 | if (ret < 0) { |
---|
175 | | - dev_err(&cldev->dev, "Could not send ReqFWVersion cmd\n"); |
---|
| 175 | + dev_err(&cldev->dev, "Could not send ReqFWVersion cmd ret = %d\n", ret); |
---|
176 | 176 | return ret; |
---|
177 | 177 | } |
---|
178 | 178 | |
---|
.. | .. |
---|
184 | 184 | * Should be at least one version block, |
---|
185 | 185 | * error out if nothing found |
---|
186 | 186 | */ |
---|
187 | | - dev_err(&cldev->dev, "Could not read FW version\n"); |
---|
| 187 | + dev_err(&cldev->dev, "Could not read FW version ret = %d\n", bytes_recv); |
---|
188 | 188 | return -EIO; |
---|
189 | 189 | } |
---|
190 | 190 | |
---|
.. | .. |
---|
332 | 332 | |
---|
333 | 333 | ret = __mei_cl_send(cl, (u8 *)&cmd, sizeof(cmd), MEI_CL_IO_TX_BLOCKING); |
---|
334 | 334 | if (ret < 0) { |
---|
335 | | - dev_err(bus->dev, "Could not send IF version cmd\n"); |
---|
| 335 | + dev_err(bus->dev, "Could not send IF version cmd ret = %d\n", ret); |
---|
336 | 336 | return ret; |
---|
337 | 337 | } |
---|
338 | 338 | |
---|
.. | .. |
---|
346 | 346 | ret = 0; |
---|
347 | 347 | bytes_recv = __mei_cl_recv(cl, (u8 *)reply, if_version_length, 0, 0); |
---|
348 | 348 | if (bytes_recv < 0 || (size_t)bytes_recv < if_version_length) { |
---|
349 | | - dev_err(bus->dev, "Could not read IF version\n"); |
---|
| 349 | + dev_err(bus->dev, "Could not read IF version ret = %d\n", bytes_recv); |
---|
350 | 350 | ret = -EIO; |
---|
351 | 351 | goto err; |
---|
352 | 352 | } |
---|