[COMMON] media: mfc: DRV4.0: replace opr and ctrl to run
authorSunyoung Kang <sy0816.kang@samsung.com>
Thu, 28 Jun 2018 08:56:34 +0000 (17:56 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 06:18:52 +0000 (15:18 +0900)
commite588f77631b9ab354beb65b5bf3dc8bca3cbaee6
treee03deaa101e526d9c59d892e0988c373c14c3cca
parentf443027fd05ad0aedb5e5d211de8f70825ede3a3
[COMMON] media: mfc: DRV4.0: replace opr and ctrl to run

The mfc_opr and mfc_ctrl perform a similar function to operate HW.
This merges the both together and changes the name to mfc_run.

- apply "mfc_run" prefix to function name in mfc_run
- move hwlock code in sleep/wakeup function to caller
- remove unnecessary code

Change-Id: I23320d6c454c353de30e9c761b3f581e20d28a7b
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
16 files changed:
drivers/media/platform/exynos/mfc/Makefile
drivers/media/platform/exynos/mfc/mfc.c
drivers/media/platform/exynos/mfc/mfc_ctrl.c [deleted file]
drivers/media/platform/exynos/mfc/mfc_ctrl.h [deleted file]
drivers/media/platform/exynos/mfc/mfc_dec_v4l2.c
drivers/media/platform/exynos/mfc/mfc_dec_vb2.c
drivers/media/platform/exynos/mfc/mfc_enc_v4l2.c
drivers/media/platform/exynos/mfc/mfc_enc_vb2.c
drivers/media/platform/exynos/mfc/mfc_hw_reg_api.c
drivers/media/platform/exynos/mfc/mfc_hw_reg_api.h
drivers/media/platform/exynos/mfc/mfc_hwlock.c
drivers/media/platform/exynos/mfc/mfc_isr.c
drivers/media/platform/exynos/mfc/mfc_opr.c [deleted file]
drivers/media/platform/exynos/mfc/mfc_opr.h [deleted file]
drivers/media/platform/exynos/mfc/mfc_run.c [new file with mode: 0644]
drivers/media/platform/exynos/mfc/mfc_run.h [new file with mode: 0644]