aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-card.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firewire/fw-card.c')
-rw-r--r--drivers/firewire/fw-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-card.c b/drivers/firewire/fw-card.c
index 34863b60e23f..3eb06556a0c1 100644
--- a/drivers/firewire/fw-card.c
+++ b/drivers/firewire/fw-card.c
@@ -160,7 +160,7 @@ fw_core_add_descriptor (struct fw_descriptor *desc)
160 i += (desc->data[i] >> 16) + 1; 160 i += (desc->data[i] >> 16) + 1;
161 161
162 if (i != desc->length) 162 if (i != desc->length)
163 return -1; 163 return -EINVAL;
164 164
165 down_write(&fw_bus_type.subsys.rwsem); 165 down_write(&fw_bus_type.subsys.rwsem);
166 166