cxl: Reset default context for vPHB on release
commitf67b4938af07e3ef3a925027a2fc62199c026e2b
authorMichael Neuling <mikey@neuling.org>
Fri, 5 Jun 2015 04:38:26 +0000 (5 14:38 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 7 Jun 2015 09:12:39 +0000 (7 19:12 +1000)
tree1990d8223f8aaf58df864efcace5e24cc595cda8
parent502f159c0239863deebfc50e09c0892d0c157101
cxl: Reset default context for vPHB on release

When we release the device, we should also invalidate the default context.
With this cxl_get_context() will return null after removal.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/vphb.c