]> git.baikalelectronics.ru Git - kernel.git/commit
[media] s5p-mfc: Support multiple firmware sub-versions
authorArun Kumar K <arun.kk@samsung.com>
Wed, 21 May 2014 09:29:30 +0000 (06:29 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 22 Jul 2014 14:29:52 +0000 (11:29 -0300)
commite0ca7dee22c7d1ff38414a1edf30a40f5f02b956
treedba9e79468d747d851a96c41d8d5a641db4d7660
parent14a5f06bf370ad10e88353f1b05d6edc373baf91
[media] s5p-mfc: Support multiple firmware sub-versions

For MFC firmwares, improved versions with bug fixes and
feature additions are released keeping the firmware version
including major and minor number same. The issue came with
the release of a new MFCv6 firmware with an interface change.
This patch adds the support of accepting multiple firmware
binaries for every version with the driver trying to load
firmwares starting from latest. This ensures full backward
compatibility regardless of which firmware version and kernel
version is used.

Signed-off-by: Arun Kumar K <arun.kk@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c
drivers/media/platform/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c