diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2014-04-25 09:45:30 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-26 08:33:10 -0400 |
commit | 9b1ee0b2cb8bffdbb3003b1d5205f3ae0592c15a (patch) | |
tree | 31124c27fddbaca390e63ebb47174ade02952a89 /drivers/firewire | |
parent | a2b2a7798fb6a5c639189e5c8f608a56fdc7a222 (diff) |
ALSA: firewire/bebob: Add a workaround for M-Audio special Firewire series
In post commit, a quirk of this firmware about transactions is reported.
This commit apply a workaround for this quirk.
They often fail transactions due to gap_count mismatch. This state is changed
by generating bus reset.
The fw_schedule_bus_reset() is an exported symbol in firewire-core. But there
are no header for public. This commit moves its prototype from
drivers/firewire/core.h to include/linux/firewire.h.
This mismatch still affects bus management before generating this bus reset.
It still takes a time to call driver's probe() because transactions are still
often failed.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/firewire/core.h b/drivers/firewire/core.h index c98764aeeec6..870044e82316 100644 --- a/drivers/firewire/core.h +++ b/drivers/firewire/core.h | |||
@@ -118,7 +118,6 @@ int fw_card_add(struct fw_card *card, | |||
118 | u32 max_receive, u32 link_speed, u64 guid); | 118 | u32 max_receive, u32 link_speed, u64 guid); |
119 | void fw_core_remove_card(struct fw_card *card); | 119 | void fw_core_remove_card(struct fw_card *card); |
120 | int fw_compute_block_crc(__be32 *block); | 120 | int fw_compute_block_crc(__be32 *block); |
121 | void fw_schedule_bus_reset(struct fw_card *card, bool delayed, bool short_reset); | ||
122 | void fw_schedule_bm_work(struct fw_card *card, unsigned long delay); | 121 | void fw_schedule_bm_work(struct fw_card *card, unsigned long delay); |
123 | 122 | ||
124 | /* -cdev */ | 123 | /* -cdev */ |