| .. | .. |
|---|
| 427 | 427 | * |
|---|
| 428 | 428 | * The returned array must be allocated with kmalloc() and will be |
|---|
| 429 | 429 | * 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. |
|---|
| 431 | 431 | * Formats listed in the returned array should be listed in decreasing |
|---|
| 432 | 432 | * preference order (the core will try all formats until it finds one |
|---|
| 433 | 433 | * 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. |
|---|
| 435 | 435 | * |
|---|
| 436 | 436 | * This method is called on all elements of the bridge chain as part of |
|---|
| 437 | 437 | * the bus format negotiation process that happens in |
|---|