Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify the probing scheme to be per-device instead of per-interface
The hiFace devices only have one USB interface per device, so there is no need to check if the device was already registered with another interface. This allows to simplify the probing scheme. As a consequence the "intf_count" and "shutdown" fields of hiface_chip can be dropped. Signed-off-by: Antonio Ospite <ao2@amarulasolutions.com>
- Loading branch information
Showing
2 changed files
with
20 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters