Rigidity of p-adic local systems