Thread (15 messages) 15 messages, 5 authors, 2012-09-07
DORMANTno replies
Revisions (8)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v1 [diff vs current]
  6. v1 [diff vs current]
  7. v1 [diff vs current]
  8. v1 current

[PATCH 5/5] omap-serial: Request pins using pinctrl framework

From: tony@atomide.com (Tony Lindgren)
Date: 2012-09-07 18:03:36
Also in: linux-omap, linux-serial

* Tony Lindgren [off-list ref] [120907 10:29]:
* AnilKumar, Chimata [off-list ref] [120906 20:27]:
quoted
quoted
@@ -1570,6 +1578,8 @@ static int serial_omap_remove(struct platform_device *dev)
 		pm_runtime_disable(&up->pdev->dev);
 		uart_remove_one_port(&serial_omap_reg, &up->port);
 		pm_qos_remove_request(&up->pm_qos_request);
+		if (up->pins)
+			pinctrl_put(up->pins);
I think this can be removed if we use devm_pinctrl_get_select_default()
above.
Yeah will do, I was initially thinking that would cause issues remuxing
pins back to safe mode on unload, but we can still do that in
serial_omap_remove().
Sent now as a separate patch with subject "[PATCH] serial: omap: Request
pins using pinctrl framework".

Regards,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help