Re: [PATCH] soundwire: Fix error return code in sdw_compute_port_params

2020-11-30 Thread Pierre-Louis Bossart
On 11/25/20 12:50 AM, Qinglang Miao wrote: Fix to return the error code -EINVAL in sdw_compute_port_params instead of 0. Fixes: 9026118f20e2 ("soundwire: Add generic bandwidth allocation algorithm") Reported-by: Hulk Robot Signed-off-by: Qinglang Miao Thanks for the patch. The test

[PATCH] soundwire: Fix error return code in sdw_compute_port_params

2020-11-24 Thread Qinglang Miao
Fix to return the error code -EINVAL in sdw_compute_port_params instead of 0. Fixes: 9026118f20e2 ("soundwire: Add generic bandwidth allocation algorithm") Reported-by: Hulk Robot Signed-off-by: Qinglang Miao --- drivers/soundwire/generic_bandwidth_allocation.c | 4 +++- 1 file changed, 3