diff options
author | Chris Rorvick <chris@rorvick.com> | 2015-02-11 06:03:16 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-11 10:39:05 +0100 |
commit | 12b00157fd8572ee1f54b70bbf496641a1608924 (patch) | |
tree | 30769a89573e5bf1b37c5e94f78ca48077e04407 /sound/usb/line6/driver.c | |
parent | ALSA: line6: Return EIO if read/write not successful (diff) | |
download | linux-12b00157fd8572ee1f54b70bbf496641a1608924.tar.xz linux-12b00157fd8572ee1f54b70bbf496641a1608924.zip |
ALSA: line6: Use explicit type for serial number
The serial number (aka ESN) is a 32-bit value.
Signed-off-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/driver.c')
-rw-r--r-- | sound/usb/line6/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c index 6c2d418b53f1..99b63a7902f3 100644 --- a/sound/usb/line6/driver.c +++ b/sound/usb/line6/driver.c @@ -426,7 +426,7 @@ EXPORT_SYMBOL_GPL(line6_write_data); Read Line 6 device serial number. (POD, TonePort, GuitarPort) */ -int line6_read_serial_number(struct usb_line6 *line6, int *serial_number) +int line6_read_serial_number(struct usb_line6 *line6, u32 *serial_number) { return line6_read_data(line6, 0x80d0, serial_number, sizeof(*serial_number)); |