From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Date: Tue, 06 Jul 2010 10:05:33 +0000 Subject: Re: [PATCH] OMAP: DSS2: OMAPFB: add support for FBIO_WAITFORVSYNC Message-Id: <20100706100533.GB8925@nokia.com> List-Id: References: <1278104096-27809-1-git-send-email-notasas@gmail.com> <19F8576C6E063C45BE387C64729E7394044EAADA06@dbde02.ent.ti.com> In-Reply-To: <19F8576C6E063C45BE387C64729E7394044EAADA06@dbde02.ent.ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: "ext Hiremath, Vaibhav" Cc: Grazvydas Ignotas , "linux-fbdev@vger.kernel.org" , "linux-omap@vger.kernel.org" , "Valkeinen Tomi (Nokia-MS/Helsinki)" On Tue, Jul 06, 2010 at 08:08:14AM +0200, ext Hiremath, Vaibhav wrote: > > @@ -648,6 +649,17 @@ int omapfb_ioctl(struct fb_info *fbi, unsigned int= cmd, > > unsigned long arg) > > r =3D -EFAULT; > > break; > >=20 > > + case FBIO_WAITFORVSYNC: > > + if (get_user(p.crt, (__u32 __user *)arg)) { > > + r =3D -EFAULT; > > + break; > > + } > > + if (p.crt !=3D 0) { > > + r =3D -ENODEV; > > + break; > > + } > > + /* FALLTHROUGH */ > > + > > case OMAPFB_WAITFORVSYNC: > [Hiremath, Vaibhav] I don't see any reason why we should still keep old c= ustom IOCTL support here.=20 It can already be used so it should not be removed. --=20 Ville Syrj=E4l=E4