[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210127064916.GD2696@kadam>
Date: Wed, 27 Jan 2021 09:49:16 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: carlis <zhangxuezhi3@...il.com>
Cc: devel@...verdev.osuosl.org, linux-fbdev@...r.kernel.org,
mh12gx2825@...il.com, gregkh@...uxfoundation.org,
oliver.graute@...oconnector.com, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, sbrivio@...hat.com,
colin.king@...onical.com, zhangxuezhi1@...ong.com
Subject: Re: [PATCH v5] fbtft: add tearing signal detect
On Wed, Jan 27, 2021 at 02:19:27PM +0800, carlis wrote:
> hi,i will fix it like below:
> par->gpio.te = devm_gpiod_get_index_optional(dev, "te", 0,
> GPIOD_IN); if (IS_ERR(par->gpio.te)) {
> rc = PTR_ERR(par->gpio.te);
> pr_err("Failed to request te gpio: %d\n", rc);
> par->gpio.te = NULL;
> }
I wish you would just copy and paste the code that I sent you instead,
but this also fixes the crash...
regards,
dan carpenter
Powered by blists - more mailing lists