Messages in this thread | | | From | Kevin Hilman <> | Subject | Re: [PATCH v8 3/5] amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM | Date | Mon, 03 Nov 2014 09:17:08 -0800 |
| |
Russell King - ARM Linux <linux@arm.linux.org.uk> writes:
[...]
> Would another possible solution be to remember the irq-safeness in the > suspend handler, and use that in the resume handler? Resume should > /always/ undo what the suspend handler previously did wrt clk API stuff.
This seems more reasonable to me.
Currently, the setting of irq_safe-ness is permanent (there's no exposed API to unset it after you set it.) so assuming it to be the same across suspend resume is a safe assumption.
Kevin
| |