Acked-by: Erik Gilling <konkers@xxxxxxxxxxx> Pulling into the linux-tegra-2.6.36 branch since the host driver is not in for-next. FWIW the host and nvmap drivers as they exist today need some major work before making into for-next/mainline. I'm still happy to get bugfixes to both. -Erik On Fri, Nov 19, 2010 at 7:17 PM, Robert Morell <rmorell@xxxxxxxxxx> wrote: > The length of the mod_locks array is NV_HOST1X_NB_MLOCKS, not > NV_HOST1X_SYNCPT_NB_PTS. > > Signed-off-by: Robert Morell <rmorell@xxxxxxxxxx> > --- > drivers/video/tegra/host/dev.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/video/tegra/host/dev.c b/drivers/video/tegra/host/dev.c > index daed882..42d268e 100644 > --- a/drivers/video/tegra/host/dev.c > +++ b/drivers/video/tegra/host/dev.c > @@ -452,7 +452,7 @@ static int nvhost_ioctl_ctrl_module_mutex( > struct nvhost_ctrl_module_mutex_args *args) > { > int err = 0; > - if (args->id >= NV_HOST1X_SYNCPT_NB_PTS || > + if (args->id >= NV_HOST1X_NB_MLOCKS || > args->lock > 1) > return -EINVAL; > > -- > 1.7.2.2 > > -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html