  We prove that the linear stochastic equation
$dx(t)=(A(t)x(t)+f(t))dt+g(t)dW(t)$ with linear operator $A(t)$ generating a
continuous linear cocycle $\varphi$ and Bohr/Levitan almost periodic or almost
automorphic coefficients $(A(t),f(t),g(t))$ admits a unique Bohr/Levitan almost
periodic (respectively, almost automorphic) solution in distribution sense if
it has at least one precompact solution on $\mathbb R_{+}$ and the linear
cocycle $\varphi$ is asymptotically stable.
