Skip to content
Snippets Groups Projects
Commit 2d9953f5 authored by Nicolas Dufresne's avatar Nicolas Dufresne
Browse files

media: wave5: Print product code on probe

This will print minimal information about the deteted hardware when the driver
is probed.

  vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE' and product code: 0x521c
parent f021d536
No related branches found
No related tags found
No related merge requests found
...@@ -271,7 +271,7 @@ static int wave5_vpu_probe(struct platform_device *pdev) ...@@ -271,7 +271,7 @@ static int wave5_vpu_probe(struct platform_device *pdev)
goto err_enc_unreg; goto err_enc_unreg;
} }
dev_dbg(&pdev->dev, "Added wave5 driver with caps: %s %s and product code: 0x%x\n", dev_info(&pdev->dev, "Added wave5 driver with caps: %s %s and product code: 0x%x\n",
(match_data->flags & WAVE5_IS_ENC) ? "'ENCODE'" : "", (match_data->flags & WAVE5_IS_ENC) ? "'ENCODE'" : "",
(match_data->flags & WAVE5_IS_DEC) ? "'DECODE'" : "", (match_data->flags & WAVE5_IS_DEC) ? "'DECODE'" : "",
dev->product_code); dev->product_code);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment