msm: camera: tfe: Fix NULL ptr dereference
Fixes NULL ptr deref caused by incorrectly passing res_id in place of res_type. CRs-Fixed: 2755471 Change-Id: I55ccb6a5fec6e61f79ed0b2cd9fc0cdc62f65b0e Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#ifndef _CAM_SOC_UTIL_H_
|
||||
#define _CAM_SOC_UTIL_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/clk.h>
|
||||
#include <linux/interrupt.h>
|
||||
|
Reference in New Issue
Block a user