Loud pops when headphones are connected

Kernel module parameters are persistent if used n a configuration file /etc/modprobe.d/*.conf

There are cracks and pops only when audio starts and stops