Hey Pavel,
I would prefer reverting your use-after-free change. I’m still on Linux 5.15.2 to avoid this issue. I’m not sure if I understand your last mails correctly, did you already revert the change or did you just offer to do it? Anyway, reverting locally wouldn’t be feasible long-term.
If I could help eliminating this bug, I would gladly offer my system for a remote hacking session via ssh or Teamviewer or try other patch ideas.
Btw, found this forum thread describing the same original problem (which is forcing me to use usbreset after standby) on Windows, so this probably is a bug in the tuner hardware, not in the Linux driver: https://www.dvbviewer.tv/forum/topic/63002-hauppauge-wintv-dualhd-stick-geht-oft-nicht-nach-standby/
If I were to submit an official "device quirk" for the Linux kernel, would it be affected of your use-after-free change too? Nobody knows, I guess?
Regards
Maximilian Böhm
Am 06.01.22 um 12:57 schrieb Pavel Skripkin:
Anyway, you can revert my patch locally and use your device. I
understand, that this approach is the best one, but anyway revert will
^^^^
I've missed "not". Please, don't get me wrong :) Reverting something
locally to work with upstream device is never a good thing.
With regards,
Pavel Skripkin