[PATCH v2 0/2] Fix s5p-mfc lock contention in request firmware paths

Shuah Khan shuahkh at osg.samsung.com
Fri Nov 3 19:01:56 PDT 2017


This patch series fixes inefficiencies and lock contention in the request
firmware paths.

Changes since v2:
- Addressed Andre's review comments. Removed fw_buf->virt null check
  as it is not needed. Removed handling s5p_mfc_load_firmware() from
  probe routine. Simply try loading in case it works.

Shuah Khan (2):
  media: s5p-mfc: remove firmware buf null check in
    s5p_mfc_load_firmware()
  media: s5p-mfc: fix lock confection - request_firmware() once and keep
    state

 drivers/media/platform/s5p-mfc/s5p_mfc.c        |  6 ++++++
 drivers/media/platform/s5p-mfc/s5p_mfc_common.h |  3 +++
 drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c   | 10 +++++-----
 3 files changed, 14 insertions(+), 5 deletions(-)

-- 
2.7.4




More information about the linux-arm-kernel mailing list