[PATCH 5.17 059/225] video: fbdev: udlfb: properly check endpoint type