Re: [PATCHv2 2/4] media: imx: Store the type of hardware implementation
From: Philipp Zabel
Date: Mon Oct 18 2021 - 06:21:42 EST
On Sun, 2021-10-17 at 13:08 +0200, Dorota Czaplejewicz wrote:
> The driver covers i.MX5/6, as well as i.MX7/8 hardware.
> Those implementations differ, e.g. in the sizes of buffers they accept.
>
> Some functionality should be abstracted, and storing type achieves that.
>
> Signed-off-by: Dorota Czaplejewicz <dorota.czaplejewicz@xxxxxxx>
I'd call the enum imx_media_device_type, but that's just a slight
preference:
Reviewed-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
regards
Philipp