mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
firewire: core: log error in case of failed bus manager lock
If the lock access to the bus manager register fails, also log the actual error that caused it to fail. Signed-off-by: Clemens Ladisch <[email protected]> Signed-off-by: Stefan Richter <[email protected]>
This commit is contained in:
parent
7bdbff6762
commit
3b00b00888
1 changed files with 2 additions and 2 deletions
|
|
@ -421,8 +421,8 @@ static void bm_work(struct work_struct *work)
|
|||
* root, and thus, IRM.
|
||||
*/
|
||||
new_root_id = local_id;
|
||||
fw_notice(card, "%s, making local node (%02x) root\n",
|
||||
"BM lock failed", new_root_id);
|
||||
fw_notice(card, "BM lock failed (%s), making local node (%02x) root\n",
|
||||
fw_rcode_string(rcode), new_root_id);
|
||||
goto pick_me;
|
||||
}
|
||||
} else if (card->bm_generation != generation) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue