fix in hiddg85x driver init: must not abort if a card was not found
Warning, cannot access the index:
_darcs/index: opening of '_darcs/index' failed: permission denied (Permission denied)
diff -rN -u old-highland/hiddg85xApp/drvHIDDG85x.c new-highland/hiddg85xApp/drvHIDDG85x.c
--- old-highland/hiddg85xApp/drvHIDDG85x.c 2022-09-28 12:43:19.075312025 +0200
+++ new-highland/hiddg85xApp/drvHIDDG85x.c 2022-09-28 12:43:19.079312124 +0200
@@ -579,7 +579,7 @@
}
hiddg85x.pregs = (hiddg85x_regs *) plocaladdr;
- for (card = 0; card < hiddg85x.max_cards && !status; card++) {
+ for (card = 0; card < hiddg85x.max_cards; card++) {
status = hiddg85x_init_card(card);
if (0 == status) ncards++;
}
patch a2719365ffaae884bc3e3024ef535a2156274c1d
Author: benjamin.franksen@bessy.de
Date: Wed Sep 10 14:36:04 CEST 2008
* fix in hiddg85x driver init: must not abort if a card was not foun