i2c-qup: Verify that mem resource exists prior to redirection

Redirection may cause a system crush in the case of a missing
memory resource specification. Now when reading a memory
resource from platform data, the return value is checked
before doing redirection on the resource.

Change-Id: Id4ef9c293f65935d6e3bd311720a1e66a2da8f35
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
Sound Control: add line gain to cached and register lock

bump version to 3.6

Signed-off-by: Paul Reioux <reioux@gmail.com>
ASoC: sound_control: Cleanup

* Clean up unused function. I believe this was implemented to
  prevent kernel from changing value itself. However, this is now
  done gracefully by sound control lock.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>