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

Commit 0e806151 authored by Chris Rorvick's avatar Chris Rorvick Committed by Takashi Iwai
Browse files

ALSA: line6: toneport: Use explicit type for firmware version



The firmware version is a single byte so have the variable type agree.
Since the address to this member is passed to the read function, using
an int is not even portable.

Signed-off-by: default avatarChris Rorvick <chris@rorvick.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 12b00157
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ struct usb_line6_toneport {
	u32 serial_number;

	/* Firmware version (x 100) */
	int firmware_version;
	u8 firmware_version;

	/* Timer for delayed PCM startup */
	struct timer_list timer;