[PATCH] s3c24xx-adc: resume convertions interrupted by going to suspend

Vasily Khoruzhick anarsoul at gmail.com
Thu Oct 29 03:49:20 EDT 2009


В сообщении от 24 октября 2009 09:59:25 автор Nelson Castillo написал:
> >@@ -224,6 +225,7 @@ struct s3c_adc_client *s3c_adc_register(struct
> > platform_device *pdev,
> >
> > 	client->is_ts = is_ts;
> >
> > 	client->select_cb = select;
> >
> > 	client->convert_cb = conv;
> >
> >+	client->selected = 0;
> 
> You don't need to clear client->selected. kzalloc takes care of this.

Ok, here's a fixed version.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3c24xx-adc-resume-convertions-interrupted-by-going-.patch
Type: text/x-patch
Size: 3397 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091029/d4ae5fc6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091029/d4ae5fc6/attachment.sig>


More information about the linux-arm-kernel mailing list