[PATCH 1/2] video: dw_mipi_dsi: missing device to log debug

Patrice CHOTARD patrice.chotard at foss.st.com
Fri Mar 12 13:33:57 CET 2021


Hi

On 3/4/21 3:59 PM, yannick Fertre wrote:
> Acked-by: Yannick Fertre <yannick.fertre at foss.st.com>
> 
> 
> On 3/4/21 1:14 PM, Patrick Delaunay wrote:
>> From: Yannick Fertre <yannick.fertre at foss.st.com>
>>
>> Missing udevice to struct dw_mipi_dsi to log trace.
>>
>> Signed-off-by: Yannick Fertre <yannick.fertre at foss.st.com>
>> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
>> ---
>>
>>   drivers/video/dw_mipi_dsi.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/video/dw_mipi_dsi.c b/drivers/video/dw_mipi_dsi.c
>> index 4dde648814..a5beed3514 100644
>> --- a/drivers/video/dw_mipi_dsi.c
>> +++ b/drivers/video/dw_mipi_dsi.c
>> @@ -797,6 +797,7 @@ static int dw_mipi_dsi_init(struct udevice *dev,
>>       dsi->phy_ops = phy_ops;
>>       dsi->max_data_lanes = max_data_lanes;
>>       dsi->device = device;
>> +    dsi->dsi_host.dev = (struct device *)dev;
>>       dsi->dsi_host.ops = &dw_mipi_dsi_host_ops;
>>       device->host = &dsi->dsi_host;
>>  
Applied to u-boot-stm/next

Thanks

Patrice


More information about the U-Boot mailing list