Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69ce9ad4 authored by Gopikrishnaiah Anandan's avatar Gopikrishnaiah Anandan
Browse files

usb: gadget: audio: fix compilation error



Change updates the format specifier for size_t to resolve the
compilation error.

Change-Id: I851b928c607439fd4c381d7f14bd9d50c177fc94
Signed-off-by: default avatarGopikrishnaiah Anandan <agopik@codeaurora.org>
parent ec4b001e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * u_audio.c -- ALSA audio utilities for Gadget stack
 *
 * Copyright (c) 2012, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
 * Copyright (C) 2008 Bryan Wu <cooloney@kernel.org>
 * Copyright (C) 2008 Analog Devices, Inc
 *
@@ -528,7 +528,7 @@ try_again:
	old_fs = get_fs();
	set_fs(KERNEL_DS);

	pr_debug("frames = %d, count = %d", (int)frames, count);
	pr_debug("frames = %d, count = %zd", (int)frames, count);

	result = snd_pcm_lib_read(substream, buf, frames);
	if (result != frames) {