hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/drm/drm_bridge.h
....@@ -427,11 +427,11 @@
427427 *
428428 * The returned array must be allocated with kmalloc() and will be
429429 * freed by the caller. If the allocation fails, NULL should be
430
- * returned. num_output_fmts must be set to the returned array size.
430
+ * returned. num_input_fmts must be set to the returned array size.
431431 * Formats listed in the returned array should be listed in decreasing
432432 * preference order (the core will try all formats until it finds one
433433 * that works). When the format is not supported NULL should be
434
- * returned and num_output_fmts should be set to 0.
434
+ * returned and num_input_fmts should be set to 0.
435435 *
436436 * This method is called on all elements of the bridge chain as part of
437437 * the bus format negotiation process that happens in