]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: return -EBUSY if exclusive
authorShridhar Rasal <srasal@nvidia.com>
Mon, 14 Apr 2014 14:58:16 +0000 (20:28 +0530)
committerTom Cherry <tcherry@nvidia.com>
Fri, 16 May 2014 01:17:49 +0000 (18:17 -0700)
commit9764fcf23c07800418c99e1f2cd2137cf473d29d
treef9b3499d555e0c0794b805d1e03384cea016f52d
parentce5ea0edf358c0aeaa43bbf57c3499df45cfb7af
video: tegra: host: return -EBUSY if exclusive

- For channel open request if device set for exclusive channel
  access then return busy error.

- change signature of nvhost_channel_map to include error and
  channel handle both.

Bug 1259844

Change-Id: I4a02bd54037edf8b665c11e31adc30eaed491b76
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/nvhost_channel.c
drivers/video/tegra/host/nvhost_channel.h