Reword a comment to describe what's actually going on. We can call invalidate
several times potentially. We just don't do anything on the second and subsequent calls.
This commit is contained in:
parent
137e6ff286
commit
052e98d2a3
@ -649,7 +649,7 @@ cam_periph_invalidate(struct cam_periph *periph)
|
||||
|
||||
cam_periph_assert(periph, MA_OWNED);
|
||||
/*
|
||||
* We only call this routine the first time a peripheral is
|
||||
* We only tear down the device the first time a peripheral is
|
||||
* invalidated.
|
||||
*/
|
||||
if ((periph->flags & CAM_PERIPH_INVALID) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user