Re: [PATCH] watchdog: Add support for the WM8350 watchdog

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wim Van Sebroeck
Date: Friday, October 24, 2008 - 5:37 am

Hi Marc,

Finally a stable ADSL line again. I just finished reviewing your driver:


:-) as you pointed out this should be removed.


you should ping the watchdog if you don't stop it.


we use the unlocked_ioctl call in watchdog drivers now. So this should be:
static long wm8350_wdt_ioctl(struct file *file, unsigned int cmd,
						unsigned long arg)


Bootstatus is a mandatory ioctl according to the API. So just add:
	case WDIOC_GETBOOTSTATUS:


and for the unlocked_ioctl call this needs to be:
	.unlocked_ioctl = wm8350_wdt_ioctl,

For the rest: seems OK to me.

Kind regards,
Wim.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] watchdog: Add support for the WM8350 watchdog, Mark Brown, (Mon Oct 20, 12:12 pm)
Re: [PATCH] watchdog: Add support for the WM8350 watchdog, Wim Van Sebroeck, (Mon Oct 20, 2:00 pm)
Re: [PATCH] watchdog: Add support for the WM8350 watchdog, Wim Van Sebroeck, (Fri Oct 24, 5:37 am)