clear-pkgs-linux-iot-lts2018/0774-ASoc-Intel-Skylake-Fix...

40 lines
1.4 KiB
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Date: Wed, 19 Dec 2018 13:20:56 +0530
Subject: [PATCH] ASoc: Intel: Skylake: Fix build issue in skl virtio driver
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
skl-virtio-miscdev driver build fails with following error.
sound/soc/intel/skylake/virtio/skl-virtio-miscdev.c:116:3: \
error: too few arguments to function acrn_ioreq_complete_request
acrn_ioreq_complete_request(client->vhm_client_id, i);
^
Fix it.
Signed-off-by: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya@intel.com>
Tracked-On: PKT-1618
---
sound/soc/intel/skylake/virtio/skl-virtio-miscdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/intel/skylake/virtio/skl-virtio-miscdev.c b/sound/soc/intel/skylake/virtio/skl-virtio-miscdev.c
index fa972782b94d..45481121c81a 100644
--- a/sound/soc/intel/skylake/virtio/skl-virtio-miscdev.c
+++ b/sound/soc/intel/skylake/virtio/skl-virtio-miscdev.c
@@ -113,7 +113,7 @@ static int handle_kick(int client_id, unsigned long *ioreqs_map)
}
atomic_set(&req->processed, REQ_STATE_COMPLETE);
- acrn_ioreq_complete_request(client->vhm_client_id, i);
+ acrn_ioreq_complete_request(client->vhm_client_id, i, NULL);
/* handle VQ kick if needed */
if (handle)
--
https://clearlinux.org