diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-02-21 11:50:17 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-23 08:46:03 +0100 |
commit | ca5b50501d6486bfbb73a07ed8b8821fb31dc065 (patch) | |
tree | 17ac01d4c4a6cf57a1eb0cc3e6bfbb0d8eed4f87 /sound | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
download | linux-ca5b50501d6486bfbb73a07ed8b8821fb31dc065.tar.bz2 |
ALSA: firewire-lib: fix an unexpected byte sequence for micro sign
The sign for microsecond (U+0085, MICRO SIGN) was encoded to '0x c2 b5'
by UTF-8 character encoding scheme. But the byte sequence was converted
to '0x c3 82 c2 b5' in a previous commit. As a result, the byte
sequence cannot represent microsecond sign in UTF-8 or ASCII. This
may confuse developers.
This commit replaces the sign to string expression with 'microseconds'
to purge superfluous troubles.
Fixes: 5c697e5b46ef("ALSA: firewire-lib: remove rx_blocks_for_midi quirk")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/firewire/amdtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/amdtp.c b/sound/firewire/amdtp.c index 0d580186ef1a..7b7b18303cac 100644 --- a/sound/firewire/amdtp.c +++ b/sound/firewire/amdtp.c @@ -33,7 +33,7 @@ */ #define MAX_MIDI_RX_BLOCKS 8 -#define TRANSFER_DELAY_TICKS 0x2e00 /* 479.17 µs */ +#define TRANSFER_DELAY_TICKS 0x2e00 /* 479.17 microseconds */ /* isochronous header parameters */ #define ISO_DATA_LENGTH_SHIFT 16 |