summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2018-08-01 22:29:05 +0200
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2018-08-03 18:11:01 +0000
commite201878b936eefc7ebdab9d30198e2584e5b5617 (patch)
tree6504cc7f82406930ae4866971adf9bc66bbdfd6d /util
parent5273604dac6200a03d2d044254f0b7006b077688 (diff)
Fix manufacturer parsing from EDID
The code was quite dubious, in the edid data, the manufacturer is encoded with a three letter shortcut. In addition it can be set by the extra data strings, which is not often the case. We would randomly overwrite the identifier string, so clearly separate the pnpId (3 letter ID) out and use the fallback table we have. Also looking up the manufacturer string twice is pointless (contains and then operator[]). Change-Id: I18882a78d69b9f3dfc2af31e646ded44f2b70a50 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions