Re: [PATCH RFC v3 2/3] firmware: mediatek: Add vcp ipc protocol interface

From
Krzysztof Kozlowski <krzk@kernel.org>
Date
2025-03-18 09:00:13
Also in
linux-devicetree, linux-mediatek, lkml
Reply to
Jjian Zhou (周建), 2025-03-18
On 18/03/2025 09:32, Jjian Zhou (周建) wrote:
quoted
quoted
+
+     return IPI_ACTION_DONE;
+}
+EXPORT_SYMBOL(mtk_vcp_ipc_send);
Drop export - no users

Anyway, every export must be GPL.
The Video Companion Processor (VCP) driver (currently being prepared
for submission to the community) will call it.
It does not work like that. You must post the users NOW.

NAK


...
quoted
Check goes immediately after declaration. I doubt it is useful in the
first place as this cannot even happen...

quoted
+             dev_err(dev, "No platform data available\n");
No, drop. Cannot happen or fix your drivers. Who provides the
platdata here?
The VCP driver will call platform_device_register_data to register the
structure data. mtk_vcp_ipc_probe will be triggered by vcp_probe. This
structure data is the structure we described in the cover letter.

Comment is still valid.

Best regards,
Krzysztof
Thread (11 messages) 11 messages, 3 authors, last reply 2025-03-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help