Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1207863

Re: [PATCH v2 4/8] watchdog: Make set_timeout function optional

From Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 4/8] watchdog: Make set_timeout function optional
Date 2015-08-14 21:10 +0200
Message-ID <pXswy-2Ca-25@gated-at.bofh.it> (permalink)
References <pV4ym-5Im-3@gated-at.bofh.it> <pV4ym-5Im-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello Guenter,

On Fri, Aug 07, 2015 at 10:02:43PM -0700, Guenter Roeck wrote:
> For some watchdogs, the hardware timeout is fixed, and the
> watchdog driver depends on the watchdog core to handle the
> actual timeout. In this situation, the watchdog driver might
> only set the 'timeout' variable but do nothing else.
> This can as well be handled by the infrastructure, so make
> the set_timeout callback optional. If WDIOF_SETTIMEOUT is
> configured but the .set_timeout callback is not available,
> update the timeout variable in the infrastructure code.
> 
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 4/8] watchdog: Make set_timeout function optional Guenter Roeck <linux@roeck-us.net> - 2015-08-08 07:10 +0200
  Re: [PATCH v2 4/8] watchdog: Make set_timeout function optional Uwe Kleine-König   <u.kleine-koenig@pengutronix.de> - 2015-08-14 21:10 +0200
    Re: [PATCH v2 4/8] watchdog: Make set_timeout function optional Guenter Roeck <linux@roeck-us.net> - 2015-08-16 01:50 +0200

csiph-web