Change-Id: I374f3d608b055ea589d9ed1dbb4ca43d890a3fa3
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
int pass_rescon_set_scenario_level_sync_with_data(struct pass_resource *res,
int scenario_level, void *data)
{
+ if (!res)
+ return -EINVAL;
+
/*
* FIXME: PMQoS core sends the raw data to the HAL in order to
* support the backwards compatibility. This function call will
int pass_rescon_unset_scenario_level_sync_with_data(struct pass_resource *res,
int scenario_level, void *data)
{
+ if (!res)
+ return -EINVAL;
+
/*
* FIXME: PMQoS core sends the raw data to the HAL in order to
* support the backwards compatibility. This function call will