mirror of
https://github.com/linux-msm/qdl.git
synced 2026-10-07 06:29:17 -07:00
EDL, crash-mode and ramdump devices enumerate with a growing set of product ids, and every newly discovered variant needed another allowlist entry - devices with ids not yet on the list were silently invisible until someone updated it. Both backends now identify the EDL function by the vendor-specific interface signature instead: the libusb backend via the config descriptors, the QUD backend via the Windows compatible ids derived from them. Trust the vendor id alone in qdl_is_edl_device() and drop the now-redundant pid gate in the QUD enumeration. The pid parameter stays in the signature so call sites are unchanged; the interface gates are what reject non-EDL Qualcomm devices from here on. Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>