diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 12:43:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 12:43:22 -0400 |
commit | ff830b8e5f999d1ccbd0282a666520f0b557daa4 (patch) | |
tree | 5979aba5ed48c93d658a208f3a1f714e9e1e8b67 /drivers/ieee1394 | |
parent | 746942d06acdb4dd78d16baa5f3728a48a033bdd (diff) | |
parent | 625f0850a8e27b6a8d6fdb95056f35bc22d92b55 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
ieee1394: sbp2: remove a workaround for Momobay FX-3A
firewire: sbp2: remove a workaround for Momobay FX-3A
firewire: sbp2: fix status reception
firewire: core: fix topology map response handler
firewire: core: fix race with parallel PCI device probe
firewire: core: header file cleanup
firewire: ohci: fix Self ID Count register mask (safeguard against buffer overflow)
ieee1394: raw1394: Do not leak memory on failed trylock.
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/raw1394.c | 4 | ||||
-rw-r--r-- | drivers/ieee1394/sbp2.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/ieee1394/raw1394.c b/drivers/ieee1394/raw1394.c index da5f8829b503..0bc3d78ce7b1 100644 --- a/drivers/ieee1394/raw1394.c +++ b/drivers/ieee1394/raw1394.c | |||
@@ -2272,8 +2272,10 @@ static ssize_t raw1394_write(struct file *file, const char __user * buffer, | |||
2272 | return -EFAULT; | 2272 | return -EFAULT; |
2273 | } | 2273 | } |
2274 | 2274 | ||
2275 | if (!mutex_trylock(&fi->state_mutex)) | 2275 | if (!mutex_trylock(&fi->state_mutex)) { |
2276 | free_pending_request(req); | ||
2276 | return -EAGAIN; | 2277 | return -EAGAIN; |
2278 | } | ||
2277 | 2279 | ||
2278 | switch (fi->state) { | 2280 | switch (fi->state) { |
2279 | case opened: | 2281 | case opened: |
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c index 52b25f8b111d..f199896c4113 100644 --- a/drivers/ieee1394/sbp2.c +++ b/drivers/ieee1394/sbp2.c | |||
@@ -372,8 +372,7 @@ static const struct { | |||
372 | /* DViCO Momobay FX-3A with TSB42AA9A bridge */ { | 372 | /* DViCO Momobay FX-3A with TSB42AA9A bridge */ { |
373 | .firmware_revision = 0x002800, | 373 | .firmware_revision = 0x002800, |
374 | .model = 0x000000, | 374 | .model = 0x000000, |
375 | .workarounds = SBP2_WORKAROUND_DELAY_INQUIRY | | 375 | .workarounds = SBP2_WORKAROUND_POWER_CONDITION, |
376 | SBP2_WORKAROUND_POWER_CONDITION, | ||
377 | }, | 376 | }, |
378 | /* Initio bridges, actually only needed for some older ones */ { | 377 | /* Initio bridges, actually only needed for some older ones */ { |
379 | .firmware_revision = 0x000200, | 378 | .firmware_revision = 0x000200, |