Study of the equation for the Abrikosov vortex pinning on a linear defect in a superconducting wafer