Skip to content

Commit 0a7a344

Browse files
hoshinolinajannau
authored andcommitted
soc: apple: rtkit: Log failed buffer requests
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 89d7c30 commit 0a7a344

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/soc/apple/rtkit.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,9 @@ static int apple_rtkit_common_rx_get_buffer(struct apple_rtkit *rtk,
303303
return 0;
304304

305305
error:
306+
dev_err(rtk->dev, "RTKit: failed buffer request for 0x%zx bytes (%d)\n",
307+
buffer->size, err);
308+
306309
buffer->buffer = NULL;
307310
buffer->iomem = NULL;
308311
buffer->iova = 0;

0 commit comments

Comments
 (0)